diff options
author | rebortg <github@ghlr.de> | 2024-07-18 21:53:35 +0200 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2024-07-18 21:53:35 +0200 |
commit | d3ad8cc86cf3561788b2c3f0d274453a31c3c2ba (patch) | |
tree | 9faadb3a3958c24aca4302d3783173f61131425b /docs/configuration/service/monitoring.rst | |
parent | 579c5cc953c8f5ac2a17218fd8d58b4a53bab7ca (diff) | |
parent | 873a461bdf972ebd815baf50893700b0a2518213 (diff) | |
download | vyos-documentation-d3ad8cc86cf3561788b2c3f0d274453a31c3c2ba.tar.gz vyos-documentation-d3ad8cc86cf3561788b2c3f0d274453a31c3c2ba.zip |
Merge branch 'current' of github.com:vyos/vyos-documentation into current
Diffstat (limited to 'docs/configuration/service/monitoring.rst')
-rw-r--r-- | docs/configuration/service/monitoring.rst | 30 |
1 files changed, 30 insertions, 0 deletions
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 <port> + + Remote Loki port + + Default is 3100 + +.. cfgcmd:: set service monitoring telegraf loki url <url> + + Remote Loki url + +.. cfgcmd:: set service monitoring telegraf loki authentication username <username> +.. cfgcmd:: set service monitoring telegraf loki authentication password <password> + + HTTP basic authentication. + + If either is set both must be set. + +.. cfgcmd:: set service monitoring telegraf loki metric-name-label <label> + + Label to use for the metric name when sending metrics. + + If set to an empty string, the label will not be added. + This is NOT recommended, as it makes it impossible to differentiate + between multiple metrics. + Example ======= |