unpoller_unpoller/pkg/lokiunifi
..
LICENSE
README.md
client.go
logger.go
loki.go
report.go
report_alarm.go
report_anomaly.go
report_event.go
report_ids.go

README.md

lokiunifi

Loki Output Plugin for UnPoller

This plugin writes UniFi Events and IDS data to Loki. Maybe Alarms too.

Example Config:

[loki]
  # 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 long to wait for Loki responses.
  timeout = "5s"

  # Set these to use basic auth.
  #user = ""
  #pass = ""

  # Used for auth-less multi-tenant.
  #tenant_id = ""