Repository navigation
Huginn 0.38.0: Prometheus metrics, Grafana dashboard, JSON logs
Only the Huginn machine needs updating. The honeypot side is unchanged since 0.30.
New
- Prometheus metrics on
/metrics, off until you turn them on in Settings > Metrics (or setHUGINN_METRICS_TOKEN). Read with a bearer token; a new token stops the old one at once. Events per source, kind and decoy service, active and new attackers, SSH/Telnet sessions and logins, captured files, blocklist size, repeated decoy tries not stored, sync time and errors, collection problems, lookup allowances, database size and the last backup. Counts only: never addresses, usernames, passwords or commands. - Grafana dashboard ready to import:
examples/grafana/huginn-dashboard.json, plus an example Prometheus job inexamples/prometheus-huginn.yml. - JSON logs for log tools such as Grafana Loki, Graylog or Elasticsearch, off by default:
HUGINN_LOG_FORMAT=jsongives one JSON object per line, so you can filter or alert on fields. It covers syncs, collection problems, logins to Huginn, refused metrics requests, failed backups, HTTP errors and every new error Huginn shows on its pages.HUGINN_LOG_LEVELsets how much. Without it the journal stays as quiet as before. - GreyNoise key on the Settings page, like the VirusTotal and MalwareBazaar keys (0.37). Without a key Huginn now asks at most 20 addresses a day, under the free allowance; with one, 40.
Upgrade
sudo ./update-huginn.sh from the new source (backup and automatic rollback), apt install ./huginn_all.deb, or docker compose pull && docker compose up -d.