Limit FW_Interface to WAN interfaces

This commit is contained in:
Brendan Smith 2021-11-19 16:08:31 -06:00
parent 1ead7d3211
commit bab7ba7f53

View file

@ -23,7 +23,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": 2,
"iteration": 1637359135522,
"iteration": 1637359135524,
"links": [],
"liveNow": false,
"panels": [
@ -3110,16 +3110,12 @@
{
"allValue": null,
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": null,
"definition": "from(bucket:\"opnsense\")\r\n |> range(start: -24h)\r\n |> filter(fn: (r) =>\r\n r._measurement == \"interface\"\r\n )\r\n |> last()\r\n |> group(columns: [\"tag\"])\r\n |> keep(columns: [\"name\"])",
"definition": "from(bucket:\"opnsense\")\r\n |> range(start: -24h)\r\n |> filter(fn: (r) =>\r\n r._measurement == \"interface\" and\r\n r.name =~ /^${WAN:regex}$/\r\n )\r\n |> last()\r\n |> group(columns: [\"tag\"])\r\n |> keep(columns: [\"name\"])",
"description": null,
"error": null,
"hide": 0,
@ -3128,7 +3124,7 @@
"multi": true,
"name": "iface",
"options": [],
"query": "from(bucket:\"opnsense\")\r\n |> range(start: -24h)\r\n |> filter(fn: (r) =>\r\n r._measurement == \"interface\"\r\n )\r\n |> last()\r\n |> group(columns: [\"tag\"])\r\n |> keep(columns: [\"name\"])",
"query": "from(bucket:\"opnsense\")\r\n |> range(start: -24h)\r\n |> filter(fn: (r) =>\r\n r._measurement == \"interface\" and\r\n r.name =~ /^${WAN:regex}$/\r\n )\r\n |> last()\r\n |> group(columns: [\"tag\"])\r\n |> keep(columns: [\"name\"])",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
@ -3205,5 +3201,5 @@
"timezone": "",
"title": "OPNsense",
"uid": "suTmk8c7k",
"version": 266
"version": 267
}