The Simplest Way to Make Redash and Ubiquiti Work Like They Should
Teams pair redash and ubiquiti to turn raw network logs into clear dashboards. Ubiquiti gear tracks device traffic, and Redash runs queries to chart that data. Network admins need fast ways to spot dropped packets and slow wifi links. Built-in controller views work for quick checks, but they lack custom query tools. Moving controller stats into a reporting tool fixes this gap for operations teams. You can join device state data with support tickets or office floor plans. This setup gives your t
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Teams pair redash and ubiquiti to turn raw network logs into clear dashboards. Ubiquiti gear tracks device traffic, and Redash runs queries to chart that data.
Network admins need fast ways to spot dropped packets and slow wifi links. Built-in controller views work for quick checks, but they lack custom query tools. Moving controller stats into a reporting tool fixes this gap for operations teams. You can join device state data with support tickets or office floor plans. This setup gives your team one place to check network health across sites.
How redash and ubiquiti share data and roles
Ubiquiti controllers store device state, client history, and traffic stats in a database. You can also export device logs to an external database for long-term storage. Redash connects to this database or reads from the controller API to pull records. An admin sets up a data source in Redash using a database account. Redash then sends scheduled queries to read the latest wifi and switch metrics.
Permissions flow from the underlying data store up to the dashboard groups. You create a dedicated user in the data store just for reporting tasks. That user holds read rights on the tables that store network events. Inside Redash, admins assign team members to specific groups based on their job. Each group links to the network data source with view or query rights.
Data moves on a set timer or when an engineer runs a check. The reporting app caches the results so dashboards load fast for the team. When someone opens a chart, they see the latest cached view of traffic. This keeps load off the network controller during busy work hours.
Common failure modes and how to scope network paths
Many teams make the mistake of using the main admin account for reporting. If a shared key leaks, an attacker can change switch rules or wifi settings. Broad database accounts also let users run heavy queries that slow the controller. Unlogged queries make it hard to see who looked at client device history. Network logs often hold user emails and phone numbers from guest wifi portals.
You can fix these risks by scoping both the account and the network path. First, create a read-only account in the database that holds the network stats. Restrict this account so it can only read the specific tables you need. Never connect the reporting tool to the controller using a root admin login. If you pull from a replica database, you also protect the live controller.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Next, lock down the network path between the reporting server and the controller. Place both systems on private subnets and block public traffic at the firewall. Allow traffic only from the IP address of your reporting server. When guest logs hold emails or phone numbers, apply data masking to results. Data masking rewrites matched fields in results so support staff see safe outputs.
Keeping query loads and audit trails clean
Unchecked queries can crash a small network controller during peak traffic hours. Teams often set refresh timers too short on large historical tables. You should limit query run times and pick sensible refresh intervals for charts. Pulling summary tables instead of raw packet logs keeps the system fast.
Audit trails are vital when many people use the same reporting tool. Since the reporting tool uses one shared database login, native logs lack detail. The database only sees the shared service account running each read command. Make sure your team logs who runs each query at the user level. Reviewing these logs each month helps you drop unused charts and stale accounts.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
Should Redash read directly from the live Ubiquiti controller database?
Reading from a replica or log store is safer for production networks. Direct queries on a live controller can slow down device management tasks. A separate reporting database keeps your network gear fast and stable.
What permissions does the Redash service account need?
Give the service account read-only access to the specific network stats tables. It should never have rights to write data or change controller settings. This stops accidental changes if a team member writes a bad query.
How can we protect guest wifi data in shared dashboards?
Guest wifi logs often contain personal emails and phone numbers from login portals. Use a read view or masking rule that rewrites matched fields in results. This lets engineers check wifi signal health while keeping guest details private.
Related guides
In this post