unpoller_unpoller/pkg
Sven Grossmann a3dc4cd0b2 feat: add save_syslog option for v2 system-log API
Add new save_syslog config option to collect events from the v2 UniFi
system-log API (/v2/api/site/{site}/system-log/all).

Changes:
- Add SaveSyslog field to Controller struct
- Add collectSyslog() function using v2 API
- Keep collectEvents() using v1 API for backwards compatibility
- Add RedactIPPII() helper for PII redaction
- Update lokiunifi to log raw JSON (parseable with Loki | json)
- Reduce indexed labels to low-cardinality fields only
- Add SystemLogEntry handler in lokiunifi report

Config: save_syslog (v2 API) vs save_events (v1 API)
Env: UP_UNIFI_DEFAULT_SAVE_SYSLOG=true
2025-12-22 17:23:53 +01:00
..
datadogunifi Fix multi-WAN speed test reporting (issue #841) 2025-12-09 16:46:14 -06:00
influxunifi Add byte counters for InfluxDB and Prometheus outputs (issue #350) 2025-12-11 10:55:33 -06:00
inputunifi feat: add save_syslog option for v2 system-log API 2025-12-22 17:23:53 +01:00
lokiunifi feat: add save_syslog option for v2 system-log API 2025-12-22 17:23:53 +01:00
mysqlunifi add integration test guard; 2023-07-31 14:40:33 -05:00
poller Fix multi-WAN speed test reporting (issue #841) 2025-12-09 16:46:14 -06:00
promunifi Add byte counters for InfluxDB and Prometheus outputs (issue #350) 2025-12-11 10:55:33 -06:00
unittest painful upgrade for dumb go versioning 2024-12-31 14:44:10 -06:00
webserver Fix health check port binding conflict (issue #892) 2025-12-09 08:11:21 -06:00