mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
add option to hide trend on zeek packet loss graph
This commit is contained in:
@@ -140,6 +140,7 @@ grafana:
|
|||||||
y: 105
|
y: 105
|
||||||
h: 8
|
h: 8
|
||||||
w: 24
|
w: 24
|
||||||
|
hideTrend: true
|
||||||
suricata_packet_loss_graph:
|
suricata_packet_loss_graph:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 0
|
x: 0
|
||||||
|
|||||||
@@ -1,11 +1,6 @@
|
|||||||
{
|
{
|
||||||
"aliasColors": {},
|
"aliasColors": {},
|
||||||
"bars": false,
|
|
||||||
"maxDataPoints": 750,
|
|
||||||
"interval": "30s",
|
|
||||||
"cacheTimeout": null,
|
|
||||||
"dashLength": 10,
|
"dashLength": 10,
|
||||||
"dashes": false,
|
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
@@ -14,15 +9,14 @@
|
|||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"fill": 1,
|
"fill": 1,
|
||||||
"fillGradient": 0,
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.zeek_packet_loss_graph.gridPos.x }},
|
"x": {{ PANELS.zeek_packet_loss_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.zeek_packet_loss_graph.gridPos.y }},
|
"y": {{ PANELS.zeek_packet_loss_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.zeek_packet_loss_graph.gridPos.w }},
|
"w": {{ PANELS.zeek_packet_loss_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.zeek_packet_loss_graph.gridPos.h }}
|
"h": {{ PANELS.zeek_packet_loss_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
|
||||||
"id": 2022,
|
"id": 2022,
|
||||||
|
"interval": "30s",
|
||||||
"legend": {
|
"legend": {
|
||||||
"alignAsTable": true,
|
"alignAsTable": true,
|
||||||
"avg": true,
|
"avg": true,
|
||||||
@@ -40,14 +34,13 @@
|
|||||||
"lines": true,
|
"lines": true,
|
||||||
"linewidth": 1,
|
"linewidth": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
|
"maxDataPoints": 750,
|
||||||
"nullPointMode": "connected",
|
"nullPointMode": "connected",
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"alertThreshold": true
|
||||||
},
|
},
|
||||||
"percentage": false,
|
|
||||||
"pluginVersion": "7.5.4",
|
"pluginVersion": "7.5.4",
|
||||||
"pointradius": 2,
|
"pointradius": 2,
|
||||||
"points": false,
|
|
||||||
"renderer": "flot",
|
"renderer": "flot",
|
||||||
"seriesOverrides": [
|
"seriesOverrides": [
|
||||||
{
|
{
|
||||||
@@ -55,12 +48,11 @@
|
|||||||
"dashLength": 4,
|
"dashLength": 4,
|
||||||
"dashes": true,
|
"dashes": true,
|
||||||
"fill": 0,
|
"fill": 0,
|
||||||
"linewidth": 4
|
"linewidth": 4,
|
||||||
|
"$$hashKey": "object:314"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"spaceLength": 10,
|
"spaceLength": 10,
|
||||||
"stack": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "Loss Current",
|
"alias": "Loss Current",
|
||||||
@@ -107,8 +99,8 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -129,7 +121,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"hide": false,
|
"hide": {% PANELS.zeek_packet_loss_graph.get('hideTrend', false) %},
|
||||||
"measurement": "zeekdrop",
|
"measurement": "zeekdrop",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
@@ -158,16 +150,14 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
"timeFrom": null,
|
|
||||||
"timeRegions": [],
|
"timeRegions": [],
|
||||||
"timeShift": null,
|
|
||||||
"title": "Zeek Packet Loss",
|
"title": "Zeek Packet Loss",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"shared": true,
|
"shared": true,
|
||||||
@@ -190,7 +180,8 @@
|
|||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
"max": null,
|
"max": null,
|
||||||
"min": 0,
|
"min": 0,
|
||||||
"show": true
|
"show": true,
|
||||||
|
"$$hashKey": "object:327"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"format": "short",
|
"format": "short",
|
||||||
@@ -198,11 +189,23 @@
|
|||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
"max": null,
|
"max": null,
|
||||||
"min": null,
|
"min": null,
|
||||||
"show": false
|
"show": false,
|
||||||
|
"$$hashKey": "object:328"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"yaxis": {
|
"yaxis": {
|
||||||
"align": false,
|
"align": false,
|
||||||
"alignLevel": null
|
"alignLevel": null
|
||||||
}
|
},
|
||||||
|
"bars": false,
|
||||||
|
"cacheTimeout": null,
|
||||||
|
"dashes": false,
|
||||||
|
"fillGradient": 0,
|
||||||
|
"hiddenSeries": false,
|
||||||
|
"percentage": false,
|
||||||
|
"points": false,
|
||||||
|
"stack": false,
|
||||||
|
"steppedLine": false,
|
||||||
|
"timeFrom": null,
|
||||||
|
"timeShift": null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user