unpoller_unpoller/pkg/lokiunifi
Cody Lee ffb8579369
add integration test guard;
datadog integration test works

influx package tests

update unifi version

golanglint-ci and address *all* issues.

all tests pass

bump unifi version
2023-07-31 14:40:33 -05: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 add integration test guard; 2023-07-31 14:40:33 -05:00
loki.go add integration test guard; 2023-07-31 14:40:33 -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 add new interface for testing 2022-12-22 17:44:39 -06: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 = ""