From b6a104de67efd8b6fe310ca5f34aca39585daf22 Mon Sep 17 00:00:00 2001 From: davidnewhall2 Date: Wed, 24 Jun 2020 21:15:27 -0700 Subject: [PATCH] fix example config --- integrations/lokiunifi/README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/integrations/lokiunifi/README.md b/integrations/lokiunifi/README.md index b6239f43..925f0909 100644 --- a/integrations/lokiunifi/README.md +++ b/integrations/lokiunifi/README.md @@ -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 = "" ```