mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
133 lines
2.6 KiB
Django/Jinja
133 lines
2.6 KiB
Django/Jinja
{
|
|
"datasource": "InfluxDB",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "rgba(245, 54, 54, 0.9)",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "rgba(237, 129, 40, 0.89)",
|
|
"value": 0.5
|
|
},
|
|
{
|
|
"color": "rgba(50, 172, 45, 0.97)",
|
|
"value": 3
|
|
}
|
|
]
|
|
},
|
|
"mappings": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null",
|
|
"$$hashKey": "object:645",
|
|
"id": 0,
|
|
"type": 1
|
|
}
|
|
],
|
|
"unit": "bps",
|
|
"decimals": 2,
|
|
"color": {
|
|
"mode": "thresholds"
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"x": {{ PANELS.monitor_interface_traffic_stat.gridPos.x }},
|
|
"y": {{ PANELS.monitor_interface_traffic_stat.gridPos.y }},
|
|
"w": {{ PANELS.monitor_interface_traffic_stat.gridPos.w }},
|
|
"h": {{ PANELS.monitor_interface_traffic_stat.gridPos.h }}
|
|
},
|
|
"id": 24,
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"targets": [
|
|
{
|
|
"dsType": "influxdb",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "net",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"bytes_recv"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"*8"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"operator": "=",
|
|
"value": "$servername"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "interface",
|
|
"operator": "=",
|
|
"value": "$monint"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"title": "Monitor Traffic - $monint",
|
|
"type": "stat",
|
|
"options": {
|
|
"reduceOptions": {
|
|
"values": false,
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": ""
|
|
},
|
|
"orientation": "horizontal",
|
|
"text": {},
|
|
"textMode": "value",
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto"
|
|
},
|
|
"cacheTimeout": null,
|
|
"interval": null,
|
|
"pluginVersion": "7.5.4"
|
|
}
|