mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
new redis queue stat panel, change to lastnotnull
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"last"
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": ""
|
||||
},
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"last"
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": ""
|
||||
},
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"last"
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": ""
|
||||
},
|
||||
|
||||
@@ -1,73 +1,5 @@
|
||||
{
|
||||
"type": "stat",
|
||||
"title": "Redis Unparsed Queue",
|
||||
"gridPos": {
|
||||
"x": {{ PANELS.redis_queue_stat.gridPos.x }},
|
||||
"y": {{ PANELS.redis_queue_stat.gridPos.y }},
|
||||
"w": {{ PANELS.redis_queue_stat.gridPos.w }},
|
||||
"h": {{ PANELS.redis_queue_stat.gridPos.h }}
|
||||
},
|
||||
"id": 68894,
|
||||
"targets": [
|
||||
{
|
||||
"refId": "A",
|
||||
"queryType": "randomWalk",
|
||||
"policy": "default",
|
||||
"resultFormat": "time_series",
|
||||
"orderByTime": "ASC",
|
||||
"tags": [
|
||||
{
|
||||
"key": "host",
|
||||
"operator": "=~",
|
||||
"value": "/^$servername$/"
|
||||
}
|
||||
],
|
||||
"groupBy": [
|
||||
{
|
||||
"type": "time",
|
||||
"params": [
|
||||
"$__interval"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "fill",
|
||||
"params": [
|
||||
"null"
|
||||
]
|
||||
}
|
||||
],
|
||||
"select": [
|
||||
[
|
||||
{
|
||||
"type": "field",
|
||||
"params": [
|
||||
"unparsed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "mean",
|
||||
"params": []
|
||||
}
|
||||
]
|
||||
],
|
||||
"measurement": "redisqueue"
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"last"
|
||||
],
|
||||
"fields": ""
|
||||
},
|
||||
"orientation": "auto",
|
||||
"text": {},
|
||||
"textMode": "auto",
|
||||
"colorMode": "value",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto"
|
||||
},
|
||||
"datasource": "InfluxDB",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"thresholds": {
|
||||
@@ -87,8 +19,77 @@
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"x": {{ PANELS.redis_queue_stat.gridPos.x }},
|
||||
"y": {{ PANELS.redis_queue_stat.gridPos.y }},
|
||||
"w": {{ PANELS.redis_queue_stat.gridPos.w }},
|
||||
"h": {{ PANELS.redis_queue_stat.gridPos.h }}
|
||||
},
|
||||
"id": 68894,
|
||||
"options": {
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": ""
|
||||
},
|
||||
"orientation": "auto",
|
||||
"text": {},
|
||||
"textMode": "auto",
|
||||
"colorMode": "value",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto"
|
||||
},
|
||||
"pluginVersion": "7.5.4",
|
||||
"datasource": "InfluxDB",
|
||||
"timeFrom": null,
|
||||
"timeShift": null
|
||||
"targets": [
|
||||
{
|
||||
"groupBy": [
|
||||
{
|
||||
"params": [
|
||||
"$__interval"
|
||||
],
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
"null"
|
||||
],
|
||||
"type": "fill"
|
||||
}
|
||||
],
|
||||
"measurement": "redisqueue",
|
||||
"orderByTime": "ASC",
|
||||
"policy": "default",
|
||||
"queryType": "randomWalk",
|
||||
"refId": "A",
|
||||
"resultFormat": "time_series",
|
||||
"select": [
|
||||
[
|
||||
{
|
||||
"type": "field",
|
||||
"params": [
|
||||
"unparsed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "last",
|
||||
"params": []
|
||||
}
|
||||
]
|
||||
],
|
||||
"tags": [
|
||||
{
|
||||
"key": "host",
|
||||
"operator": "=~",
|
||||
"value": "/^$servername$/"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"title": "Redis Unparsed Queue",
|
||||
"type": "stat",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"interval": "30s"
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"last"
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": ""
|
||||
},
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"last"
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": ""
|
||||
},
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"last"
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": ""
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user