From 2b051992294fad1729c124d72ab88fb241c0d39d Mon Sep 17 00:00:00 2001 From: Nicolas Vollmar Date: Mon, 1 Jul 2024 08:49:35 +0200 Subject: T6477: Add documentation for telegraf loki output --- docs/configuration/service/monitoring.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'docs') diff --git a/docs/configuration/service/monitoring.rst b/docs/configuration/service/monitoring.rst index 245af067..10b4dee2 100644 --- a/docs/configuration/service/monitoring.rst +++ b/docs/configuration/service/monitoring.rst @@ -130,6 +130,36 @@ and logs from your routers. Remote URL +Loki +==== + +Telegraf can be used to send logs to Loki using tags as labels. + +.. cfgcmd:: set service monitoring telegraf loki port + + Remote Loki port + + Default is 3100 + +.. cfgcmd:: set service monitoring telegraf loki url + + Remote Loki url + +.. cfgcmd:: set service monitoring telegraf loki authentication username +.. cfgcmd:: set service monitoring telegraf loki authentication password + + HTTP basic authentication. + + If either is set both must be set. + +.. cfgcmd:: set service monitoring telegraf loki metric-name-label