mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
fix traffic overview graphs
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
},
|
},
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
|
"decimals": 1,
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
@@ -23,9 +24,9 @@
|
|||||||
"interval": "30s",
|
"interval": "30s",
|
||||||
"legend": {
|
"legend": {
|
||||||
"alignAsTable": true,
|
"alignAsTable": true,
|
||||||
"avg": true,
|
"avg": false,
|
||||||
"current": true,
|
"current": true,
|
||||||
"max": true,
|
"max": false,
|
||||||
"min": false,
|
"min": false,
|
||||||
"rightSide": true,
|
"rightSide": true,
|
||||||
"show": true,
|
"show": true,
|
||||||
@@ -40,7 +41,7 @@
|
|||||||
"maxDataPoints": 750,
|
"maxDataPoints": 750,
|
||||||
"nullPointMode": "connected",
|
"nullPointMode": "connected",
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"alertThreshold": false
|
||||||
},
|
},
|
||||||
"pluginVersion": "7.5.4",
|
"pluginVersion": "7.5.4",
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
@@ -49,7 +50,7 @@
|
|||||||
"spaceLength": 10,
|
"spaceLength": 10,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "$tag_host $tag_role $manint",
|
"alias": "$tag_host $tag_role",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -59,16 +60,16 @@
|
|||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tag",
|
|
||||||
"params": [
|
"params": [
|
||||||
"host"
|
"host"
|
||||||
]
|
],
|
||||||
|
"type": "tag"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tag",
|
|
||||||
"params": [
|
"params": [
|
||||||
"role"
|
"role"
|
||||||
]
|
],
|
||||||
|
"type": "tag"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -80,6 +81,8 @@
|
|||||||
"measurement": "net",
|
"measurement": "net",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
|
"query": "SELECT non_negative_derivative(mean(\"bytes_recv\"), 1s) *8 FROM \"net\" WHERE (\"host\" = '$servername' AND \"interface\" = '$manint') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||||
|
"rawQuery": false,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
"select": [
|
"select": [
|
||||||
@@ -126,9 +129,7 @@
|
|||||||
"operator": "=~",
|
"operator": "=~",
|
||||||
"value": "/^$role$/"
|
"value": "/^$role$/"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"query": "SELECT non_negative_derivative(mean(\"bytes_recv\"), 1s) *8 FROM \"net\" WHERE (\"host\" = '$servername' AND \"interface\" = '$manint') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
|
||||||
"rawQuery": false
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
@@ -150,29 +151,28 @@
|
|||||||
},
|
},
|
||||||
"yaxes": [
|
"yaxes": [
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:353",
|
||||||
|
"decimals": 1,
|
||||||
"format": "bps",
|
"format": "bps",
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
"max": null,
|
"max": null,
|
||||||
"min": 0,
|
"min": 0,
|
||||||
"show": true,
|
"show": true
|
||||||
"$$hashKey": "object:353",
|
|
||||||
"decimals": 1
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:354",
|
||||||
"format": "short",
|
"format": "short",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
"max": null,
|
"max": null,
|
||||||
"min": null,
|
"min": null,
|
||||||
"show": true,
|
"show": true
|
||||||
"$$hashKey": "object:354"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"yaxis": {
|
"yaxis": {
|
||||||
"align": false,
|
"align": false,
|
||||||
"alignLevel": null
|
"alignLevel": null
|
||||||
},
|
},
|
||||||
"decimals": 1,
|
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"error": false,
|
"error": false,
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
},
|
},
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
|
"decimals": 1,
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
@@ -23,9 +24,9 @@
|
|||||||
"interval": "30s",
|
"interval": "30s",
|
||||||
"legend": {
|
"legend": {
|
||||||
"alignAsTable": true,
|
"alignAsTable": true,
|
||||||
"avg": true,
|
"avg": false,
|
||||||
"current": true,
|
"current": true,
|
||||||
"max": true,
|
"max": false,
|
||||||
"min": false,
|
"min": false,
|
||||||
"rightSide": true,
|
"rightSide": true,
|
||||||
"show": true,
|
"show": true,
|
||||||
@@ -40,7 +41,7 @@
|
|||||||
"maxDataPoints": 750,
|
"maxDataPoints": 750,
|
||||||
"nullPointMode": "connected",
|
"nullPointMode": "connected",
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"alertThreshold": false
|
||||||
},
|
},
|
||||||
"pluginVersion": "7.5.4",
|
"pluginVersion": "7.5.4",
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
@@ -49,7 +50,7 @@
|
|||||||
"spaceLength": 10,
|
"spaceLength": 10,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "$tag_host $tag_role $manint",
|
"alias": "$tag_host $tag_role",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -59,16 +60,16 @@
|
|||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tag",
|
|
||||||
"params": [
|
"params": [
|
||||||
"host"
|
"host"
|
||||||
]
|
],
|
||||||
|
"type": "tag"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tag",
|
|
||||||
"params": [
|
"params": [
|
||||||
"role"
|
"role"
|
||||||
]
|
],
|
||||||
|
"type": "tag"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -148,29 +149,28 @@
|
|||||||
},
|
},
|
||||||
"yaxes": [
|
"yaxes": [
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:353",
|
||||||
|
"decimals": 1,
|
||||||
"format": "bps",
|
"format": "bps",
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
"max": null,
|
"max": null,
|
||||||
"min": 0,
|
"min": 0,
|
||||||
"show": true,
|
"show": true
|
||||||
"$$hashKey": "object:353",
|
|
||||||
"decimals": 1
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:354",
|
||||||
"format": "short",
|
"format": "short",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
"max": null,
|
"max": null,
|
||||||
"min": null,
|
"min": null,
|
||||||
"show": true,
|
"show": true
|
||||||
"$$hashKey": "object:354"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"yaxis": {
|
"yaxis": {
|
||||||
"align": false,
|
"align": false,
|
||||||
"alignLevel": null
|
"alignLevel": null
|
||||||
},
|
},
|
||||||
"decimals": 1,
|
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"dashes": false,
|
"dashes": false,
|
||||||
"error": false,
|
"error": false,
|
||||||
|
|||||||
@@ -2,61 +2,55 @@
|
|||||||
"aliasColors": {
|
"aliasColors": {
|
||||||
"InBound": "#629E51",
|
"InBound": "#629E51",
|
||||||
"OutBound": "#5195CE",
|
"OutBound": "#5195CE",
|
||||||
"net.non_negative_derivative": "light-orange"
|
"net.non_negative_derivative": "super-light-blue"
|
||||||
},
|
},
|
||||||
"bars": false,
|
|
||||||
"maxDataPoints": 750,
|
|
||||||
"interval": "30s",
|
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
|
"decimals": 1,
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"error": false,
|
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"links": []
|
"links": []
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"fill": 1,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.monitor_interface_traffic_inbound_graph.gridPos.x }},
|
"x": {{ PANELS.monitor_interface_traffic_inbound_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.monitor_interface_traffic_inbound_graph.gridPos.y }},
|
"y": {{ PANELS.monitor_interface_traffic_inbound_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.monitor_interface_traffic_inbound_graph.gridPos.w }},
|
"w": {{ PANELS.monitor_interface_traffic_inbound_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.monitor_interface_traffic_inbound_graph.gridPos.h }}
|
"h": {{ PANELS.monitor_interface_traffic_inbound_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
"id": 188188,
|
||||||
"id": 111845,
|
"interval": "30s",
|
||||||
"legend": {
|
"legend": {
|
||||||
"alignAsTable": true,
|
"alignAsTable": true,
|
||||||
"avg": true,
|
"avg": false,
|
||||||
"current": true,
|
"current": true,
|
||||||
"max": true,
|
"max": false,
|
||||||
"min": true,
|
"min": false,
|
||||||
|
"rightSide": true,
|
||||||
"show": true,
|
"show": true,
|
||||||
|
"sort": "current",
|
||||||
|
"sortDesc": true,
|
||||||
"total": false,
|
"total": false,
|
||||||
"values": true
|
"values": true
|
||||||
},
|
},
|
||||||
"lines": true,
|
"lines": true,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
|
"maxDataPoints": 750,
|
||||||
"nullPointMode": "connected",
|
"nullPointMode": "connected",
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"alertThreshold": false
|
||||||
},
|
},
|
||||||
"percentage": false,
|
|
||||||
"pluginVersion": "7.5.4",
|
"pluginVersion": "7.5.4",
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
|
||||||
"renderer": "flot",
|
"renderer": "flot",
|
||||||
"seriesOverrides": [],
|
"seriesOverrides": [],
|
||||||
"spaceLength": 10,
|
"spaceLength": 10,
|
||||||
"stack": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "Inbound Current",
|
"alias": "$tag_host $tag_role",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -65,6 +59,18 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"role"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -75,6 +81,8 @@
|
|||||||
"measurement": "net",
|
"measurement": "net",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
|
"query": "SELECT non_negative_derivative(mean(\"bytes_recv\"), 1s) *8 FROM \"net\" WHERE (\"host\" = '$servername' AND \"interface\" = '$monint') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||||
|
"rawQuery": false,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
"select": [
|
"select": [
|
||||||
@@ -106,90 +114,31 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"condition": "AND",
|
||||||
"key": "interface",
|
"key": "interface",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$monint"
|
"value": "/^$monint$/"
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"alias": "Inbound Trend",
|
|
||||||
"dsType": "influxdb",
|
|
||||||
"groupBy": [
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"$__interval"
|
|
||||||
],
|
|
||||||
"type": "time"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"type": "fill"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"hide": false,
|
|
||||||
"measurement": "net",
|
|
||||||
"orderByTime": "ASC",
|
|
||||||
"policy": "so_long_term",
|
|
||||||
"refId": "B",
|
|
||||||
"resultFormat": "time_series",
|
|
||||||
"select": [
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"mean_bytes_recv"
|
|
||||||
],
|
|
||||||
"type": "field"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [],
|
|
||||||
"type": "mean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"1s"
|
|
||||||
],
|
|
||||||
"type": "non_negative_derivative"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"*8"
|
|
||||||
],
|
|
||||||
"type": "math"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"tags": [
|
|
||||||
{
|
|
||||||
"key": "host",
|
|
||||||
"operator": "=",
|
|
||||||
"value": "$servername"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"condition": "AND",
|
||||||
"key": "interface",
|
"key": "role",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$monint"
|
"value": "/^$role$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
"timeFrom": null,
|
|
||||||
"timeRegions": [],
|
"timeRegions": [],
|
||||||
"timeShift": null,
|
"title": "Monitor Interface Traffic - Inbound",
|
||||||
"title": "Monitor Interface Inbound Traffic",
|
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": true,
|
"msResolution": true,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@@ -202,13 +151,16 @@
|
|||||||
},
|
},
|
||||||
"yaxes": [
|
"yaxes": [
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:353",
|
||||||
|
"decimals": 1,
|
||||||
"format": "bps",
|
"format": "bps",
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
"max": null,
|
"max": null,
|
||||||
"min": null,
|
"min": 0,
|
||||||
"show": true
|
"show": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:354",
|
||||||
"format": "short",
|
"format": "short",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
@@ -220,5 +172,17 @@
|
|||||||
"yaxis": {
|
"yaxis": {
|
||||||
"align": false,
|
"align": false,
|
||||||
"alignLevel": null
|
"alignLevel": null
|
||||||
}
|
},
|
||||||
|
"bars": false,
|
||||||
|
"dashes": false,
|
||||||
|
"error": false,
|
||||||
|
"fill": 0,
|
||||||
|
"fillGradient": 0,
|
||||||
|
"hiddenSeries": false,
|
||||||
|
"percentage": false,
|
||||||
|
"points": false,
|
||||||
|
"stack": false,
|
||||||
|
"steppedLine": false,
|
||||||
|
"timeFrom": null,
|
||||||
|
"timeShift": null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user