diff --git a/pfSense-Grafana-Dashboard.json b/pfSense-Grafana-Dashboard.json index 6912137..e3496bb 100755 --- a/pfSense-Grafana-Dashboard.json +++ b/pfSense-Grafana-Dashboard.json @@ -76,7 +76,7 @@ "gnetId": null, "graphTooltip": 0, "id": null, - "iteration": 1619488635585, + "iteration": 1619532870168, "links": [], "panels": [ { @@ -1682,7 +1682,12 @@ "maxDataPoints": null, "options": { "showHeader": true, - "sortBy": [] + "sortBy": [ + { + "desc": true, + "displayName": "Blocked" + } + ] }, "pluginVersion": "7.4.3", "targets": [ @@ -1839,7 +1844,12 @@ "maxDataPoints": null, "options": { "showHeader": true, - "sortBy": [] + "sortBy": [ + { + "desc": true, + "displayName": "Blocked" + } + ] }, "pluginVersion": "7.4.3", "targets": [ @@ -2405,7 +2415,12 @@ "maxDataPoints": null, "options": { "showHeader": true, - "sortBy": [] + "sortBy": [ + { + "desc": true, + "displayName": "Blocked" + } + ] }, "pluginVersion": "7.4.3", "targets": [ @@ -2552,7 +2567,12 @@ "maxDataPoints": null, "options": { "showHeader": true, - "sortBy": [] + "sortBy": [ + { + "desc": true, + "displayName": "Blocked" + } + ] }, "pluginVersion": "7.4.3", "targets": [ @@ -2635,13 +2655,1407 @@ }, { "collapsed": false, - "datasource": "$dataSource", + "datasource": "${DS_INFLUXDB}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 }, + "id": 1005, + "panels": [], + "title": "pfBlocker Details", + "type": "row" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Dest Port" + }, + "properties": [ + { + "id": "custom.width", + "value": 105 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Dest IP" + }, + "properties": [ + { + "id": "custom.width", + "value": 128 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 0, + "y": 24 + }, + "id": 1059, + "interval": null, + "links": [], + "maxDataPoints": null, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Blocked Count" + } + ] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "alias": "$tag_src_ip", + "groupBy": [ + { + "params": [ + "src_ip" + ], + "type": "tag" + } + ], + "hide": false, + "limit": "", + "measurement": "tail_ipblock", + "orderByTime": "ASC", + "policy": "autogen", + "query": "SELECT TOP(\"blocked\",10),src_ip,dest_ip, dest_port FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'in' and protocolid =~ /^(6$|17$)/) AND $timeFilter GROUP BY src_ip,dest_ip,dest_port\n) \n", + "rawQuery": true, + "refId": "C", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "action" + ], + "type": "field" + }, + { + "params": [], + "type": "count" + } + ] + ], + "slimit": "", + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "action", + "operator": "=", + "value": "block" + }, + { + "condition": "AND", + "key": "direction", + "operator": "=", + "value": "in" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "IP - Top 10 Blocked - IN (By Host/Port)", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "src_ip", + "dest_ip", + "dest_port", + "top" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "dest_ip": 1, + "dest_port": 2, + "src_ip": 0, + "top": 3 + }, + "renameByName": { + "dest_ip": "Dest IP", + "dest_port": "Dest Port", + "foo": "", + "src_ip": "Source IP", + "top": "Blocked Count" + } + } + } + ], + "type": "table" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Source IP" + }, + "properties": [ + { + "id": "custom.width", + "value": 163 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 3, + "x": 5, + "y": 24 + }, + "id": 1051, + "interval": null, + "links": [], + "maxDataPoints": null, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Blocked Count" + } + ] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "alias": "$tag_src_ip", + "groupBy": [ + { + "params": [ + "src_ip" + ], + "type": "tag" + } + ], + "hide": false, + "limit": "", + "measurement": "tail_ipblock", + "orderByTime": "ASC", + "policy": "autogen", + "query": "SELECT TOP(\"blocked\",10),dest_port FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'in' and protocolid =~ /^(6$|17$)/) AND $timeFilter GROUP BY dest_port\n) ", + "rawQuery": true, + "refId": "B", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "action" + ], + "type": "field" + }, + { + "params": [], + "type": "count" + } + ] + ], + "slimit": "", + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "action", + "operator": "=", + "value": "block" + }, + { + "condition": "AND", + "key": "direction", + "operator": "=", + "value": "in" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Port - Top 10 Blocked - IN", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "top", + "dest_port" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "dest_port": 0, + "top": 1 + }, + "renameByName": { + "dest_port": "Port", + "src_ip": "Source IP", + "top": "Blocked Count" + } + } + } + ], + "type": "table" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 3, + "x": 10, + "y": 24 + }, + "id": 1066, + "interval": null, + "links": [], + "maxDataPoints": null, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Blocked Count" + } + ] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "groupBy": [ + { + "params": [ + "feed_name" + ], + "type": "tag" + } + ], + "hide": false, + "measurement": "tail_dnsbl_log", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT count(*) FROM \"tail_dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter GROUP BY \"feed_name\"", + "rawQuery": true, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "blockmethod" + ], + "type": "field" + }, + { + "params": [], + "type": "count" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Top 10 DNSBL Feeds", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "feed_name", + "count_blockmethod" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "dest_port": 0, + "top": 1 + }, + "renameByName": { + "count": "Blocked Clount", + "count_blockmethod": "Blocked Count", + "dest_port": "Port", + "feed_name": "Feed Name", + "src_ip": "Source IP", + "top": "Blocked Count" + } + } + } + ], + "type": "table" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Source IP" + }, + "properties": [ + { + "id": "custom.width", + "value": 163 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 3, + "x": 16, + "y": 24 + }, + "id": 1055, + "interval": null, + "links": [], + "maxDataPoints": null, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Blocked Count" + } + ] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "alias": "$tag_src_ip", + "groupBy": [ + { + "params": [ + "src_ip" + ], + "type": "tag" + } + ], + "hide": false, + "limit": "", + "measurement": "tail_ipblock", + "orderByTime": "ASC", + "policy": "autogen", + "query": "SELECT TOP(\"blocked\",10),dest_port FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'out' and protocolid =~ /^(6$|17$)/) AND $timeFilter GROUP BY dest_port\n) ", + "rawQuery": true, + "refId": "B", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "action" + ], + "type": "field" + }, + { + "params": [], + "type": "count" + } + ] + ], + "slimit": "", + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "action", + "operator": "=", + "value": "block" + }, + { + "condition": "AND", + "key": "direction", + "operator": "=", + "value": "in" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Port - Top 10 Blocked - OUT", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "top", + "dest_port" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "dest_port": 0, + "top": 1 + }, + "renameByName": { + "dest_port": "Port", + "src_ip": "Source IP", + "top": "Blocked Count" + } + } + } + ], + "type": "table" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Dest Port" + }, + "properties": [ + { + "id": "custom.width", + "value": 105 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Dest IP" + }, + "properties": [ + { + "id": "custom.width", + "value": 128 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 19, + "y": 24 + }, + "id": 1063, + "interval": null, + "links": [], + "maxDataPoints": null, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Blocked Count" + } + ] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "alias": "$tag_src_ip", + "groupBy": [ + { + "params": [ + "src_ip" + ], + "type": "tag" + } + ], + "hide": false, + "limit": "", + "measurement": "tail_ipblock", + "orderByTime": "ASC", + "policy": "autogen", + "query": "SELECT TOP(\"blocked\",10),src_ip,dest_ip, dest_port FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'out' and protocolid =~ /^(6$|17$)/) AND $timeFilter GROUP BY src_ip,dest_ip,dest_port\n) \n", + "rawQuery": true, + "refId": "C", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "action" + ], + "type": "field" + }, + { + "params": [], + "type": "count" + } + ] + ], + "slimit": "", + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "action", + "operator": "=", + "value": "block" + }, + { + "condition": "AND", + "key": "direction", + "operator": "=", + "value": "in" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "IP - Top 10 Blocked - OUT (By Host/Port)", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "src_ip", + "dest_ip", + "dest_port", + "top" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "dest_ip": 1, + "dest_port": 2, + "src_ip": 0, + "top": 3 + }, + "renameByName": { + "dest_ip": "Dest IP", + "dest_port": "Dest Port", + "foo": "", + "src_ip": "Source IP", + "top": "Blocked Count" + } + } + } + ], + "type": "table" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Dest Port" + }, + "properties": [ + { + "id": "custom.width", + "value": 105 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Dest IP" + }, + "properties": [ + { + "id": "custom.width", + "value": 128 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Source IP" + }, + "properties": [ + { + "id": "custom.width", + "value": 122 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Protocol" + }, + "properties": [ + { + "id": "custom.width", + "value": 121 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 0, + "y": 33 + }, + "id": 1061, + "interval": null, + "links": [], + "maxDataPoints": null, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Blocked Count" + } + ] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "alias": "$tag_src_ip", + "groupBy": [ + { + "params": [ + "src_ip" + ], + "type": "tag" + } + ], + "hide": false, + "limit": "", + "measurement": "tail_ipblock", + "orderByTime": "ASC", + "policy": "autogen", + "query": "SELECT TOP(\"blocked\",10),src_ip,dest_ip, protocol FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'in' ) AND $timeFilter GROUP BY src_ip,dest_ip,protocol\n) \n", + "rawQuery": true, + "refId": "C", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "action" + ], + "type": "field" + }, + { + "params": [], + "type": "count" + } + ] + ], + "slimit": "", + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "action", + "operator": "=", + "value": "block" + }, + { + "condition": "AND", + "key": "direction", + "operator": "=", + "value": "in" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "IP - Top 10 Blocked - IN (By Host/Protocol)", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "top", + "src_ip", + "dest_ip", + "protocol" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "dest_ip": 1, + "protocol": 2, + "src_ip": 0, + "top": 3 + }, + "renameByName": { + "dest_ip": "Dest IP", + "dest_port": "Dest Port", + "foo": "", + "protocol": "Protocol", + "src_ip": "Source IP", + "top": "Blocked Count" + } + } + } + ], + "type": "table" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 3, + "x": 5, + "y": 33 + }, + "id": 1053, + "interval": null, + "links": [], + "maxDataPoints": null, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Blocked Count" + } + ] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "alias": "$tag_protocol", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'in') AND $timeFilter GROUP BY protocol\n", + "rawQuery": true, + "refId": "B", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Protocol - Top 10 Blocked - IN", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "protocol", + "blocked" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": {}, + "renameByName": { + "blocked": "Blocked Count", + "protocol": "Protocol" + } + } + } + ], + "type": "table" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 3, + "x": 16, + "y": 33 + }, + "id": 1057, + "interval": null, + "links": [], + "maxDataPoints": null, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Blocked Count" + } + ] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "alias": "$tag_protocol", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'out') AND $timeFilter GROUP BY protocol\n", + "rawQuery": true, + "refId": "B", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Protocol - Top 10 Blocked - OUT", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "protocol", + "blocked" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": {}, + "renameByName": { + "blocked": "Blocked Count", + "protocol": "Protocol" + } + } + } + ], + "type": "table" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Dest Port" + }, + "properties": [ + { + "id": "custom.width", + "value": 105 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Dest IP" + }, + "properties": [ + { + "id": "custom.width", + "value": 128 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Source IP" + }, + "properties": [ + { + "id": "custom.width", + "value": 122 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Protocol" + }, + "properties": [ + { + "id": "custom.width", + "value": 121 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 19, + "y": 33 + }, + "id": 1065, + "interval": null, + "links": [], + "maxDataPoints": null, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Blocked Count" + } + ] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "alias": "$tag_src_ip", + "groupBy": [ + { + "params": [ + "src_ip" + ], + "type": "tag" + } + ], + "hide": false, + "limit": "", + "measurement": "tail_ipblock", + "orderByTime": "ASC", + "policy": "autogen", + "query": "SELECT TOP(\"blocked\",10),src_ip,dest_ip, protocol FROM\n(\nSELECT count(\"action\") as \"blocked\" FROM \"autogen\".\"tail_ip_block_log\" WHERE (\"host\" =~ /^$Host$/ AND \"action\" = 'block' AND \"direction\" = 'out' ) AND $timeFilter GROUP BY src_ip,dest_ip,protocol\n) \n", + "rawQuery": true, + "refId": "C", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "action" + ], + "type": "field" + }, + { + "params": [], + "type": "count" + } + ] + ], + "slimit": "", + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "action", + "operator": "=", + "value": "block" + }, + { + "condition": "AND", + "key": "direction", + "operator": "=", + "value": "in" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "IP - Top 10 Blocked - OUT (By Host/Protocol)", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "top", + "src_ip", + "dest_ip", + "protocol" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "dest_ip": 1, + "protocol": 2, + "src_ip": 0, + "top": 3 + }, + "renameByName": { + "dest_ip": "Dest IP", + "dest_port": "Dest Port", + "foo": "", + "protocol": "Protocol", + "src_ip": "Source IP", + "top": "Blocked Count" + } + } + } + ], + "type": "table" + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 42 + }, "id": 143, "panels": [], "title": "Network Stats", @@ -2667,7 +4081,7 @@ "h": 8, "w": 11, "x": 0, - "y": 24 + "y": 43 }, "hiddenSeries": false, "id": 4, @@ -2917,7 +4331,7 @@ "h": 8, "w": 13, "x": 11, - "y": 24 + "y": 43 }, "id": 194, "links": [], @@ -3080,7 +4494,7 @@ "h": 8, "w": 11, "x": 0, - "y": 32 + "y": 51 }, "hiddenSeries": false, "id": 487, @@ -3306,7 +4720,7 @@ "h": 8, "w": 13, "x": 11, - "y": 32 + "y": 51 }, "id": 961, "links": [], @@ -3439,7 +4853,7 @@ "h": 1, "w": 24, "x": 0, - "y": 40 + "y": 59 }, "id": 14, "panels": [], @@ -3540,7 +4954,7 @@ "h": 3, "w": 24, "x": 0, - "y": 41 + "y": 60 }, "id": 603, "links": [], @@ -3690,7 +5104,7 @@ "h": 8, "w": 9, "x": 0, - "y": 44 + "y": 63 }, "hiddenSeries": false, "id": 2, @@ -3903,7 +5317,7 @@ "h": 8, "w": 3, "x": 9, - "y": 44 + "y": 63 }, "id": 247, "links": [], @@ -4068,7 +5482,7 @@ "h": 8, "w": 3, "x": 12, - "y": 44 + "y": 63 }, "hideTimeOverride": true, "id": 296, @@ -4206,7 +5620,7 @@ "h": 8, "w": 9, "x": 15, - "y": 44 + "y": 63 }, "hiddenSeries": false, "id": 322, @@ -4490,1000 +5904,964 @@ } }, { - "collapsed": true, + "collapsed": false, "datasource": "$dataSource", "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 64 + "y": 83 }, "id": 43, - "panels": [ - { - "cacheTimeout": null, - "datasource": "$dataSource", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "center", - "displayMode": "color-text", - "filterable": false - }, - "mappings": [ - { - "from": "", - "id": 1, - "text": "DOWN", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "UP", - "to": "", - "type": 1, - "value": "1" - }, - { - "from": "", - "id": 3, - "text": "UNKNOWN", - "to": "", - "type": 1, - "value": "2" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "rgb(255, 255, 255)", - "value": null - }, - { - "color": "light-red", - "value": 0 - }, - { - "color": "light-green", - "value": 1 - }, - { - "color": "orange", - "value": 2 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "name" - }, - "properties": [ - { - "id": "displayName", - "value": "Interface" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align", - "value": null - } - ] - } - ] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 45 - }, - "id": 604, - "links": [], - "options": { - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "7.4.3", - "scopedVars": { - "LAN_Interfaces": { - "selected": false, - "text": "igb2.10", - "value": "igb2.10" - } - }, - "targets": [ - { - "alias": "", - "groupBy": [ - { - "params": [ - "name" - ], - "type": "tag" - } - ], - "limit": "1", - "measurement": "interface", - "orderByTime": "ASC", - "policy": "autogen", - "refId": "A", - "resultFormat": "table", - "select": [ - [ - { - "params": [ - "friendlyname" - ], - "type": "field" - }, - { - "params": [ - "FriendlyName" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "ip4_address" - ], - "type": "field" - }, - { - "params": [ - "IPv4 Address" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "mac_address" - ], - "type": "field" - }, - { - "params": [ - "Physical Address" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "status" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - }, - { - "params": [ - "Status" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - }, - { - "condition": "AND", - "key": "name", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Interface summary", - "transformations": [ - { - "id": "merge", - "options": { - "reducers": [] - } - }, - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "name", - "FriendlyName", - "Physical Address", - "Status", - "IPv4 Address" - ] - } - } - } - ], - "type": "table" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$dataSource", - "decimals": 2, - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 9, - "x": 0, - "y": 48 - }, - "hiddenSeries": false, - "id": 38, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.4.3", - "pointradius": 2, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "v", - "scopedVars": { - "LAN_Interfaces": { - "selected": false, - "text": "igb2.10", - "value": "igb2.10" - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_interface - $col", - "groupBy": [ - { - "params": [ - "10s" - ], - "type": "time" - }, - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "net", - "orderByTime": "ASC", - "policy": "default", - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "bytes_recv" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"bytes_recv\") / count(\"bytes_recv\")" - ], - "type": "math" - }, - { - "params": [ - "Bytes_Recv" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "bytes_sent" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"bytes_sent\") / count(\"bytes_sent\")" - ], - "type": "math" - }, - { - "params": [ - "Bytes_Sent" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - }, - { - "condition": "AND", - "key": "interface", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "LAN Traffic - $LAN_Interfaces (Bytes/sec)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 2, - "format": "Bps", - "label": "", - "logBase": 2, - "max": null, - "min": null, - "show": true - }, - { - "decimals": 2, - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "cacheTimeout": null, - "datasource": "$dataSource", - "fieldConfig": { - "defaults": { - "custom": {}, - "decimals": 2, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 9, - "y": 48 - }, - "id": 248, - "links": [], - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "7.4.3", - "repeat": null, - "repeatDirection": "v", - "scopedVars": { - "LAN_Interfaces": { - "selected": false, - "text": "igb2.10", - "value": "igb2.10" - } - }, - "targets": [ - { - "alias": "$tag_interface - $col", - "groupBy": [ - { - "params": [ - "10s" - ], - "type": "time" - }, - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "net", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *8 FROM \"net\" WHERE (\"host\" =~ /^$Host$/ AND \"interface\" =~ /^$LAN_Interfaces$/) AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": false, - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "bytes_recv" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"bytes_recv\") / count(\"bytes_recv\") * 8" - ], - "type": "math" - }, - { - "params": [ - "Bits_Recv" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "bytes_sent" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"bytes_sent\") / count(\"bytes_sent\") * 8" - ], - "type": "math" - }, - { - "params": [ - "Bits_Sent" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - }, - { - "condition": "AND", - "key": "interface", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "LAN Traffic - $LAN_Interfaces (Bits/sec)", - "type": "stat" - }, - { - "cacheTimeout": null, - "datasource": "$dataSource", - "fieldConfig": { - "defaults": { - "custom": {}, - "decimals": 2, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 12, - "y": 48 - }, - "hideTimeOverride": true, - "id": 297, - "links": [], - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "sum" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "7.4.3", - "repeat": null, - "repeatDirection": "v", - "scopedVars": { - "LAN_Interfaces": { - "selected": false, - "text": "igb2.10", - "value": "igb2.10" - } - }, - "targets": [ - { - "alias": "$tag_interface - $col - This Month", - "groupBy": [ - { - "params": [ - "10s" - ], - "type": "time" - }, - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "net", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "bytes_recv" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [], - "type": "non_negative_difference" - }, - { - "params": [ - "Bytes_Recv" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "bytes_sent" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [], - "type": "non_negative_difference" - }, - { - "params": [ - "Bytes_Sent" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - }, - { - "condition": "AND", - "key": "interface", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - } - ] - } - ], - "timeFrom": "now/M", - "timeShift": null, - "title": "LAN $LAN_Interfaces", - "type": "stat" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$dataSource", - "decimals": 2, - "description": "", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 9, - "x": 15, - "y": 48 - }, - "hiddenSeries": false, - "id": 347, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideZero": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "sideWidth": null, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.4.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "v", - "scopedVars": { - "LAN_Interfaces": { - "selected": false, - "text": "igb2.10", - "value": "igb2.10" - } - }, - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_interface - $col", - "groupBy": [ - { - "params": [ - "10s" - ], - "type": "time" - }, - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "net", - "orderByTime": "ASC", - "policy": "default", - "refId": "G", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "packets_recv" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"packets_recv\") / count(\"packets_recv\")" - ], - "type": "math" - }, - { - "params": [ - "Packets_Recv" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "packets_sent" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"packets_sent\") / count(\"packets_sent\")" - ], - "type": "math" - }, - { - "params": [ - "Packets_Sent" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "interface", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - }, - { - "condition": "AND", - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "LAN Throughput - $LAN_Interfaces", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 2, - "format": "short", - "label": null, - "logBase": 2, - "max": null, - "min": null, - "show": true - }, - { - "decimals": 2, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], + "panels": [], "repeat": "LAN_Interfaces", "title": "LAN Interface - $LAN_Interfaces", "type": "row" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "center", + "displayMode": "color-text", + "filterable": false + }, + "mappings": [ + { + "from": "", + "id": 1, + "text": "DOWN", + "to": "", + "type": 1, + "value": "0" + }, + { + "from": "", + "id": 2, + "text": "UP", + "to": "", + "type": 1, + "value": "1" + }, + { + "from": "", + "id": 3, + "text": "UNKNOWN", + "to": "", + "type": 1, + "value": "2" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "rgb(255, 255, 255)", + "value": null + }, + { + "color": "light-red", + "value": 0 + }, + { + "color": "light-green", + "value": 1 + }, + { + "color": "orange", + "value": 2 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Interface" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align", + "value": null + } + ] + } + ] + }, + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 84 + }, + "id": 604, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "targets": [ + { + "alias": "", + "groupBy": [ + { + "params": [ + "name" + ], + "type": "tag" + } + ], + "limit": "1", + "measurement": "interface", + "orderByTime": "ASC", + "policy": "autogen", + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "friendlyname" + ], + "type": "field" + }, + { + "params": [ + "FriendlyName" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "ip4_address" + ], + "type": "field" + }, + { + "params": [ + "IPv4 Address" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "mac_address" + ], + "type": "field" + }, + { + "params": [ + "Physical Address" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "status" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + }, + { + "params": [ + "Status" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "name", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Interface summary", + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "name", + "FriendlyName", + "Physical Address", + "Status", + "IPv4 Address" + ] + } + } + } + ], + "type": "table" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$dataSource", + "decimals": 2, + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 0, + "y": 87 + }, + "hiddenSeries": false, + "id": 38, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.4.3", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeat": null, + "repeatDirection": "v", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bytes_recv" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"bytes_recv\") / count(\"bytes_recv\")" + ], + "type": "math" + }, + { + "params": [ + "Bytes_Recv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "bytes_sent" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"bytes_sent\") / count(\"bytes_sent\")" + ], + "type": "math" + }, + { + "params": [ + "Bytes_Sent" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "interface", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "LAN Traffic - $LAN_Interfaces (Bytes/sec)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "Bps", + "label": "", + "logBase": 2, + "max": null, + "min": null, + "show": true + }, + { + "decimals": 2, + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "fieldConfig": { + "defaults": { + "custom": {}, + "decimals": 2, + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 9, + "y": 87 + }, + "id": 248, + "links": [], + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "7.4.3", + "repeat": null, + "repeatDirection": "v", + "targets": [ + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *8 FROM \"net\" WHERE (\"host\" =~ /^$Host$/ AND \"interface\" =~ /^$LAN_Interfaces$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bytes_recv" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"bytes_recv\") / count(\"bytes_recv\") * 8" + ], + "type": "math" + }, + { + "params": [ + "Bits_Recv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "bytes_sent" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"bytes_sent\") / count(\"bytes_sent\") * 8" + ], + "type": "math" + }, + { + "params": [ + "Bits_Sent" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "interface", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "LAN Traffic - $LAN_Interfaces (Bits/sec)", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "fieldConfig": { + "defaults": { + "custom": {}, + "decimals": 2, + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 12, + "y": 87 + }, + "hideTimeOverride": true, + "id": 297, + "links": [], + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "sum" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "7.4.3", + "repeat": null, + "repeatDirection": "v", + "targets": [ + { + "alias": "$tag_interface - $col - This Month", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bytes_recv" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [], + "type": "non_negative_difference" + }, + { + "params": [ + "Bytes_Recv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "bytes_sent" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [], + "type": "non_negative_difference" + }, + { + "params": [ + "Bytes_Sent" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "interface", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + } + ] + } + ], + "timeFrom": "now/M", + "timeShift": null, + "title": "LAN $LAN_Interfaces", + "type": "stat" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$dataSource", + "decimals": 2, + "description": "", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 15, + "y": 87 + }, + "hiddenSeries": false, + "id": 347, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sideWidth": null, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.4.3", + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "repeatDirection": "v", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "packets_recv" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"packets_recv\") / count(\"packets_recv\")" + ], + "type": "math" + }, + { + "params": [ + "Packets_Recv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "packets_sent" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"packets_sent\") / count(\"packets_sent\")" + ], + "type": "math" + }, + { + "params": [ + "Packets_Sent" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "interface", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + }, + { + "condition": "AND", + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "LAN Throughput - $LAN_Interfaces", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "short", + "label": null, + "logBase": 2, + "max": null, + "min": null, + "show": true + }, + { + "decimals": 2, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], "refresh": "10s", @@ -5703,7 +7081,7 @@ ] }, "time": { - "from": "now-5m", + "from": "now-3h", "to": "now" }, "timepicker": { @@ -5723,5 +7101,5 @@ "timezone": "", "title": "pfSense System Dashboard", "uid": "GflT1CsMz", - "version": 212 + "version": 221 }