mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
graph changes
This commit is contained in:
@@ -1388,10 +1388,10 @@ grafana:
|
|||||||
w: 4
|
w: 4
|
||||||
monitor_interface_traffic_stat:
|
monitor_interface_traffic_stat:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 8
|
x: 0
|
||||||
y: 5
|
y: 5
|
||||||
h: 4
|
h: 4
|
||||||
w: 4
|
w: 12
|
||||||
zeek_packet_loss_stat:
|
zeek_packet_loss_stat:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 12
|
x: 12
|
||||||
|
|||||||
@@ -87,6 +87,8 @@
|
|||||||
"legend": {
|
"legend": {
|
||||||
"displayMode": "table",
|
"displayMode": "table",
|
||||||
"placement": "right",
|
"placement": "right",
|
||||||
|
"sort": "lastNotNull",
|
||||||
|
"sortDesc": false,
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"max",
|
"max",
|
||||||
"mean",
|
"mean",
|
||||||
|
|||||||
@@ -146,3 +146,156 @@
|
|||||||
"decimals": 1,
|
"decimals": 1,
|
||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
"id": 69016,
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 1
|
||||||
|
},
|
||||||
|
"type": "timeseries",
|
||||||
|
"title": "System Uptime",
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"pluginVersion": "8.2.1",
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"lineWidth": 1,
|
||||||
|
"fillOpacity": 0,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"spanNulls": false,
|
||||||
|
"showPoints": "never",
|
||||||
|
"pointSize": 5,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
|
},
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"axisLabel": "",
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"hideFrom": {
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false,
|
||||||
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"unit": "s",
|
||||||
|
"decimals": 1,
|
||||||
|
"min": 0,
|
||||||
|
"max": 604800
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
},
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"sort": "lastNotNull",
|
||||||
|
"sortDesc": false,
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"alias": "$tag_host $tag_role",
|
||||||
|
"groupBy": [
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"$__interval"
|
||||||
|
],
|
||||||
|
"type": "time"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"role"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"type": "fill"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"measurement": "system",
|
||||||
|
"orderByTime": "ASC",
|
||||||
|
"policy": "default",
|
||||||
|
"queryType": "randomWalk",
|
||||||
|
"refId": "A",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"select": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"uptime"
|
||||||
|
],
|
||||||
|
"type": "field"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [],
|
||||||
|
"type": "last"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"key": "host",
|
||||||
|
"operator": "=~",
|
||||||
|
"value": "/^$servername$/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "",
|
||||||
|
"timeFrom": null,
|
||||||
|
"timeShift": null,
|
||||||
|
"interval": "30"
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,43 +1,29 @@
|
|||||||
{
|
{
|
||||||
"aliasColors": {},
|
"id": 68896,
|
||||||
"dashLength": 10,
|
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"decimals": 1,
|
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {},
|
|
||||||
"overrides": []
|
|
||||||
},
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.uptime_docker_combined_current_graph.gridPos.x }},
|
"x": {{ PANELS.uptime_docker_combined_current_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.uptime_docker_combined_current_graph.gridPos.y }},
|
"y": {{ PANELS.uptime_docker_combined_current_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.uptime_docker_combined_current_graph.gridPos.w }},
|
"w": {{ PANELS.uptime_docker_combined_current_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.uptime_docker_combined_current_graph.gridPos.h }}
|
"h": {{ PANELS.uptime_docker_combined_current_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"id": 68896,
|
"type": "timeseries",
|
||||||
"legend": {
|
"title": "Container Uptime Current",
|
||||||
"alignAsTable": true,
|
"datasource": "InfluxDB",
|
||||||
"avg": false,
|
"pluginVersion": "8.2.1",
|
||||||
"current": true,
|
|
||||||
"max": false,
|
|
||||||
"min": false,
|
|
||||||
"rightSide": true,
|
|
||||||
"show": true,
|
|
||||||
"sort": "current",
|
|
||||||
"sortDesc": false,
|
|
||||||
"total": false,
|
|
||||||
"values": true
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"linewidth": 1,
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
},
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"sort": "lastNotNull",
|
||||||
|
"sortDesc": false,
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"pluginVersion": "7.5.4",
|
|
||||||
"pointradius": 2,
|
|
||||||
"renderer": "flot",
|
|
||||||
"seriesOverrides": [],
|
|
||||||
"spaceLength": 10,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "$tag_host $tag_role $tag_container_name",
|
"alias": "$tag_host $tag_role $tag_container_name",
|
||||||
@@ -55,16 +41,16 @@
|
|||||||
"type": "tag"
|
"type": "tag"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tag",
|
|
||||||
"params": [
|
"params": [
|
||||||
"host"
|
"host"
|
||||||
]
|
],
|
||||||
|
"type": "tag"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tag",
|
|
||||||
"params": [
|
"params": [
|
||||||
"role"
|
"role"
|
||||||
]
|
],
|
||||||
|
"type": "tag"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -73,6 +59,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"limit": "",
|
||||||
"measurement": "docker_container_status",
|
"measurement": "docker_container_status",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
@@ -84,17 +71,18 @@
|
|||||||
"select": [
|
"select": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "field",
|
|
||||||
"params": [
|
"params": [
|
||||||
"uptime_ns"
|
"uptime_ns"
|
||||||
]
|
],
|
||||||
|
"type": "field"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "last",
|
"params": [],
|
||||||
"params": []
|
"type": "last"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
"slimit": "",
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
@@ -107,62 +95,60 @@
|
|||||||
"operator": "=~",
|
"operator": "=~",
|
||||||
"value": "/^$containers$/"
|
"value": "/^$containers$/"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"slimit": "",
|
|
||||||
"limit": ""
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"fieldConfig": {
|
||||||
"timeRegions": [],
|
"defaults": {
|
||||||
"title": "Container Uptime Current",
|
"custom": {
|
||||||
"tooltip": {
|
"drawStyle": "line",
|
||||||
"shared": true,
|
"lineInterpolation": "linear",
|
||||||
"sort": 1,
|
"barAlignment": 0,
|
||||||
"value_type": "individual"
|
"lineWidth": 1,
|
||||||
|
"fillOpacity": 0,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"spanNulls": false,
|
||||||
|
"showPoints": "never",
|
||||||
|
"pointSize": 5,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"axisPlacement": "auto",
|
||||||
"xaxis": {
|
"axisLabel": "",
|
||||||
"buckets": null,
|
"scaleDistribution": {
|
||||||
"mode": "time",
|
"type": "linear"
|
||||||
"name": null,
|
|
||||||
"show": true,
|
|
||||||
"values": []
|
|
||||||
},
|
},
|
||||||
"yaxes": [
|
"hideFrom": {
|
||||||
{
|
"tooltip": false,
|
||||||
"$$hashKey": "object:192",
|
"viz": false,
|
||||||
"format": "ns",
|
"legend": false
|
||||||
"label": null,
|
|
||||||
"logBase": 1,
|
|
||||||
"max": "604800000000000",
|
|
||||||
"min": "0",
|
|
||||||
"show": true,
|
|
||||||
"decimals": 1
|
|
||||||
},
|
},
|
||||||
{
|
"thresholdsStyle": {
|
||||||
"$$hashKey": "object:193",
|
"mode": "off"
|
||||||
"decimals": 2,
|
|
||||||
"format": "short",
|
|
||||||
"label": "",
|
|
||||||
"logBase": 1,
|
|
||||||
"max": null,
|
|
||||||
"min": "0",
|
|
||||||
"show": false
|
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"yaxis": {
|
|
||||||
"align": false,
|
|
||||||
"alignLevel": null
|
|
||||||
},
|
},
|
||||||
"bars": false,
|
"color": {
|
||||||
"dashes": false,
|
"mode": "palette-classic"
|
||||||
"fill": 0,
|
},
|
||||||
"fillGradient": 0,
|
"thresholds": {
|
||||||
"hiddenSeries": false,
|
"mode": "absolute",
|
||||||
"percentage": false,
|
"steps": [
|
||||||
"points": false,
|
{
|
||||||
"stack": false,
|
"color": "green",
|
||||||
"steppedLine": false,
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"unit": "ns",
|
||||||
|
"decimals": 1,
|
||||||
|
"min": 0,
|
||||||
|
"max": 604800000000000
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"interval": "30s",
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeShift": null
|
"timeShift": null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user