From 0a94fb16e91d47f27fd9bc9645e64adb3c26da73 Mon Sep 17 00:00:00 2001 From: ChiefGyk3D <19499446+ChiefGyk3D@users.noreply.github.com> Date: Wed, 26 Nov 2025 10:46:53 -0500 Subject: [PATCH 1/2] fix Client MAC OUI Breakdown --- v2.0.0/UniFi-Poller_ Client Insights - InfluxDB.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2.0.0/UniFi-Poller_ Client Insights - InfluxDB.json b/v2.0.0/UniFi-Poller_ Client Insights - InfluxDB.json index 3161b61..8493026 100644 --- a/v2.0.0/UniFi-Poller_ Client Insights - InfluxDB.json +++ b/v2.0.0/UniFi-Poller_ Client Insights - InfluxDB.json @@ -1068,7 +1068,7 @@ "measurement": "clients", "orderByTime": "ASC", "policy": "default", - "query": "select count(distinct(hostname)) FROM \"clients\" WHERE time > now() - 5m AND site_name =~ /^${Site:regex}$/ AND ((\"name\" =~ /^${Wireless:regex}$/ AND \"ap_name\" =~ /^${AP:regex}$/) OR (\"name\" =~ /^${Wired:regex}$/ AND \"sw_name\" =~ /^${Switch:regex}$/ )) GROUP BY \"oui\"", + "query": "select count(distinct(hostname)) FROM \"clients\" WHERE time > now() - 5m AND site_name =~ /^${Site:regex}$/ AND ((\"name\" =~ /^${Wireless:regex}$/ AND \"ap_name\" =~ /^${AP:regex}$/) OR (\"name\" =~ /^${Wired:regex}$/ AND \"sw_name\" =~ /^${Switch:regex}$/ )) AND \"oui\" != '' GROUP BY \"oui\"", "rawQuery": true, "refId": "A", "resultFormat": "time_series", From 7fa64eee800cd9668463ba2baff5a0fec80e262a Mon Sep 17 00:00:00 2001 From: ChiefGyk3D <19499446+ChiefGyk3D@users.noreply.github.com> Date: Mon, 1 Dec 2025 09:03:15 -0500 Subject: [PATCH 2/2] Fix Client MAC OUI Breakdown in UAP Insights InfluxDB dashboard --- v2.0.0/UniFi-Poller_ UAP Insights - InfluxDB.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2.0.0/UniFi-Poller_ UAP Insights - InfluxDB.json b/v2.0.0/UniFi-Poller_ UAP Insights - InfluxDB.json index 6fd6f3f..403f164 100644 --- a/v2.0.0/UniFi-Poller_ UAP Insights - InfluxDB.json +++ b/v2.0.0/UniFi-Poller_ UAP Insights - InfluxDB.json @@ -348,7 +348,7 @@ "measurement": "clients", "orderByTime": "ASC", "policy": "default", - "query": "select count(distinct(hostname)) FROM \"clients\" WHERE $timeFilter AND ap_name =~ /^${AP:regex}$/ AND site_name =~ /^${Site:regex}$/ GROUP BY \"oui\"", + "query": "select count(distinct(hostname)) FROM \"clients\" WHERE $timeFilter AND ap_name =~ /^${AP:regex}$/ AND site_name =~ /^${Site:regex}$/ AND \"oui\" != '' GROUP BY \"oui\"", "rawQuery": true, "refId": "A", "resultFormat": "time_series",