unpoller_unpoller/pkg/lokiunifi
Cody Lee 247cc868b3
go 1.19 interface{} -> any
2022-12-03 16:32:12 -06:00
..
LICENSE move to the pkg dir 2022-12-02 20:46:16 -05:00
README.md move to the pkg dir 2022-12-02 20:46:16 -05:00
client.go go 1.19 interface{} -> any 2022-12-03 16:32:12 -06:00
logger.go go 1.19 interface{} -> any 2022-12-03 16:32:12 -06:00
loki.go all to pkg 2022-12-02 20:48:01 -05:00
report.go all to pkg 2022-12-02 20:48:01 -05:00
report_alarm.go move to the pkg dir 2022-12-02 20:46:16 -05:00
report_anomaly.go move to the pkg dir 2022-12-02 20:46:16 -05:00
report_event.go move to the pkg dir 2022-12-02 20:46:16 -05:00
report_ids.go move to the pkg dir 2022-12-02 20:46:16 -05:00

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 = ""