SkillAgentSearch skills...

UniFi Insights Plus

Real-time log analysis for UniFi Routers — syslog receiver (SIEM), PostgreSQL storage, IP enrichment (GeoIP, AbuseIPDB, rDNS), and React UI with live streaming, threats maps, network flow, filters, and a dashboard.

Install / Use

npx skills add jmasarweh/UniFi-Insights-Plus

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img src="ui/public/image.png" alt="UniFi Insights Plus" /> </p> <h1 align="center">UniFi Insights Plus <a href="https://github.com/jmasarweh/UniFi-Insights-Plus/stargazers"><img src="https://img.shields.io/github/stars/jmasarweh/UniFi-Insights-Plus" alt="GitHub Stars" /></a></h1> <p align="center"> <a href="https://github.com/jmasarweh/UniFi-Insights-Plus/releases/latest"><img src="https://img.shields.io/github/v/release/jmasarweh/UniFi-Insights-Plus" alt="GitHub Release" /></a> <a href="https://github.com/jmasarweh/UniFi-Insights-Plus/pkgs/container/unifi-log-insight"><img src="https://img.shields.io/badge/downloads-41k+-blue" alt="Downloads" /></a> <a href="https://chromewebstore.google.com/detail/unifi-insights-plus/dlpkbnjhbhkijfkgnmnbohbokdfoimge"><img src="https://img.shields.io/chrome-web-store/v/dlpkbnjhbhkijfkgnmnbohbokdfoimge?label=chrome-extension" alt="Chrome Web Store" /></a> <a href="https://addons.mozilla.org/en-US/firefox/addon/unifi-insights-plus/"><img src="https://img.shields.io/amo/v/unifi-insights-plus?label=firefox-addon" alt="Firefox Add-ons" /></a> <a href="https://github.com/jmasarweh/UniFi-Insights-Plus/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/jmasarweh/UniFi-Insights-Plus/test.yml?branch=main&label=tests" alt="Tests" /></a> <a href="https://github.com/jmasarweh/UniFi-Insights-Plus/actions/workflows/docker-publish.yml"><img src="https://img.shields.io/github/actions/workflow/status/jmasarweh/UniFi-Insights-Plus/docker-publish.yml?label=docker%20build" alt="Docker Build" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-BSL%201.1-orange" alt="License" /></a> </p> <p align="center"> Real-time log analysis for UniFi routers and gateways - captures syslog over UDP, parses firewall, DHCP, Wi-Fi, and system events, enriches them with GeoIP, ASN, threat intelligence, and reverse DNS, then serves everything through a live Dashboard. </p> <p align="center"> Single Docker container. No external dependencies. Zero data collection. </p> <p align="center"> <strong>For full documentation, visit <a href="https://insightsplus.dev/docs">insightsplus.dev/docs</a></strong> </p> <p align="center"> <a href="#-features">Features</a> · <a href="#-prerequisites">Prerequisites</a> · <a href="#-app-screenshots">Screenshots</a> </p>

✨ Features

| Feature | Description | |---------|-------------| | Live Log Stream | Auto-refreshing table with expandable details, copy-to-clipboard, and intelligent pause/resume | | Flow View | Interactive Sankey flow graph and Zone Matrix showing how traffic moves between sources, services, and destinations. Click any node to cross-filter, drill into a host slide panel for per-IP breakdowns, and save/load custom views | | Threat Map | Interactive world map showing where threats and blocked outbound traffic originate. Switch between heatmap and cluster views, filter by time range, and click any point to inspect individual logs | | Dashboard | Traffic breakdowns, top blocked/allowed countries and IPs, top threats with ASN/city/rDNS/categories, top devices, services, DNS queries | | Filters | Log type, time range, action, direction, VPN badge, interface, service, country, ASN, threat score, IP, rule name, text search | | IP Enrichment | GeoIP (country, city, coordinates), ASN, reverse DNS via MaxMind GeoLite2 with scheduled auto-update and hot-reload | | AbuseIPDB Integration | Threat scoring (23 categories, Tor detection, usage type), daily blacklist pre-seeding, automatic backfill | | Syslog Receiver | UDP 514 listener parsing firewall, DHCP, Wi-Fi, DNS, and system events | | Multi-WAN & Direction | Per-interface WAN IP mapping for failover/load-balanced setups. Auto-classifies traffic as inbound, outbound, inter-VLAN, local, or VPN | | VPN Detection | Auto-detects VPN interfaces (WireGuard, OpenVPN, Teleport, Site Magic) with badge assignment, labels, and CIDRs | | UniFi Integration | Network discovery, device name resolution, and firewall syslog management via UniFi OS (API key) or self-hosted controllers (username/password) | | Pi-hole Integration | DNS query logging via Pi-hole v6+ API | | AdGuard Home | DNS query logging support (coming soon) | | Firewall Syslog Manager | Zone matrix with bulk toggle — enable syslog on firewall rules without leaving the app (UniFi OS) | | AI Agent Integration (MCP) | Connect Claude Desktop, Claude Code, Gemini CLI (or any http mcp client) via the Model Context Protocol (MCP) to query your network data & setup through natural conversation | | Device Names | Friendly names from UniFi clients/devices with historical backfill | | Theming & Preferences | Dark/light theme, country display format, IP subline (show ASN beneath IPs) | | Interface Labels | Color-coded labels for traffic flow, applied retroactively to all logs | | CSV Export | Download filtered results up to 100K rows | | Retention | Configurable per log type (60-day default, 10-day DNS) and cleanup time (HH:MM, container-local). Adjustable via Settings or env vars | | Backup & Restore | Export/import all settings as JSON | | External DB Support | Run against an external PostgreSQL instead of the embedded one — compatible with Coolify, Unraid, managed Postgres, and any platform where bundled databases aren't allowed. Setup guide · Migration guide for existing users | | DNS Ready | Full DNS query parsing (requires configuration) | | Mobile Responsive | Collapsible filters, full-width table on small screens | | Setup Wizard | Two paths: UniFi API (auto-detects WAN, VLANs, topology) or Log Detection (discovers interfaces from live traffic) |

📋 Prerequisites

  • Docker and Docker Compose
  • UniFi Router (or any UniFi gateway that supports remote syslog)
  • Zone-based firewall (not legacy/classic). The Firewall Syslog Manager and firewall policy API require the zone-based policy engine. If you are still on the legacy/classic firewall, migrate via Settings > Policy Engine in your UniFi controller before setting up ULI.
  • MaxMind GeoLite2 account (free signup) - for GeoIP/ASN lookups
  • AbuseIPDB API key (free tier, recommended but optional) - for threat scoring

Minimum host resources (estimated):

  • CPU: 4 cores/threads minimum (PostgreSQL + receiver + API run concurrently)
  • Memory/RAM: minimum of 4 GB of RAM
  • Disk: 10 GB free for the database volume (pgdata) at minimum

These are baseline estimates for a small home network. Higher log volume or longer retention will require more CPU cores, RAM and Disk space.

Docker log rotation is enabled by default in docker-compose.yml (10 MB max, 5 files). If you use a custom compose file, add a logging: section to prevent unbounded container log growth.

📸 App Screenshots

Desktop

Log Stream
<img alt="Log Stream" src="docs/screenshots/log-stream.png" />
Expanded Log Detail
<img alt="Expanded Log Detail" src="docs/screenshots/expanded-log-detail.png" />
Dashboard
<img alt="Dashboard" src="docs/screenshots/dashboard.png" />
Dashboard — Top IPs
<img alt="Dashboard Top IPs" src="docs/screenshots/dashboard-top-ips.png" />
Flow View — Sankey Chart
<img alt="Flow View" src="docs/screenshots/flow-view.png" />
Flow View — Host Detail
<img alt="Flow View Detail" src="docs/screenshots/flow-view-detail.png" />
Flow View — Zone Matrix
<img alt="Flow View Zone Matrix" src="docs/screenshots/flow-view-zone-matrix.png" />
Threat Map — Heatmap
<img alt="Threat Map Heatmap" src="docs/screenshots/threat-map-heatmap.png" />
Threat Map — Clusters
<img alt="Threat Map Clusters" src="docs/screenshots/threat-map-clusters.png" />
Threat Map — Event Detail Sidebar
<img alt="Threat Map Event Detail Sidebar" src="docs/screenshots/threat-map-event-detail-sidebar.png" />
Firewall Syslog Matrix
<img alt="Firewall Syslog Matrix" src="docs/screenshots/firewall-syslog-matrix.png" />
Settings
<img alt="Settings" src="docs/screenshots/settings.png" />
Dark Mode
<img alt="Dark Mode" src="docs/screenshots/dark-mode.png" />

Mobile

Log Stream
<img alt="Main Mobile View" src="docs/screenshots/main-mobile-view.png" />
Flow View
<img alt="Mobile View" src="docs/screenshots/mobile-view.png" />
Dashboard
<img alt="Dashboard Mobile View" src="docs/screenshots/dashboard-mobile-view.png" />
Threat Map
<img alt="Map Mobile View" src="docs/screenshots/map-mobile-view.png" />

📄 License

Licensed under the Business Source License 1.1 (BSL 1.1).

You may freely use, modify, and self-host UniFi Log Insight for non-commercial and internal business purposes.

You may not offer the Licensed Work to third parties on a hosted or embedded basis to compete with the Licensor's paid offerings without a commercial license.

Each version converts to Apache License 2.0 four years after its release date.

Exceptions to the BSL terms may be granted on a case-by-case basis — contact the Licensor for inquiries.

Related Skills

View on GitHub
GitHub Stars259
CategoryData
Updated32m ago
Forks16

Languages

Python

Security Score

80/100

Audited on Aug 8, 2026

No findings