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