fix example config

This commit is contained in:
davidnewhall2 2020-06-24 21:15:27 -07:00
parent 16fde27436
commit b6a104de67
1 changed files with 14 additions and 12 deletions

View File

@ -4,21 +4,23 @@ Loki Output Plugin for UniFi Poller
This plugin writes UniFi Events and IDS data to Loki. Maybe Alarms too.
```
Example Config:
```toml
[loki]
# URL is the only required setting for Loki.
url = "http://192.168.3.2:3100"
# URL is the only required setting for Loki.
url = "http://192.168.3.2:3100"
# How often to poll UniFi and report to Loki.
interval = "2m"
# How often to poll UniFi and report to Loki.
interval = "2m"
# How long to wait for Loki responses.
timeout = "5s"
# How long to wait for Loki responses.
timeout = "5s"
# Set these to use basic auth.
user = ""
pass = ""
# Set these to use basic auth.
#user = ""
#pass = ""
# Used for auth-less multi-tenant.
tenant_id = ""
# Used for auth-less multi-tenant.
#tenant_id = ""
```