mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
update standalone dashboard for new influx
This commit is contained in:
@@ -381,7 +381,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
" / 8"
|
" /{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -406,7 +406,7 @@
|
|||||||
"measurement": "docker_container_cpu",
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
"query": "SELECT \"mean_usage_percent\" /{{ CPU }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-elasticsearch') AND time <= (now()-24h) and time <= now()",
|
"query": "SELECT \"mean_usage_percent\" /{{ CPUS }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-elasticsearch') AND time <= (now()-24h) and time <= now()",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -420,7 +420,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"/16"
|
"/{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -563,7 +563,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
" / 8"
|
" /{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -588,7 +588,7 @@
|
|||||||
"measurement": "docker_container_cpu",
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
"query": "SELECT \"mean_usage_percent\" /{{ CPU }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"container_name\" = 'so-kibana' AND \"host\" = '{{ SERVERNAME }}') AND time <= (now()-24h) and time <= now()",
|
"query": "SELECT \"mean_usage_percent\" /{{ CPUS }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"container_name\" = 'so-kibana' AND \"host\" = '{{ SERVERNAME }}') AND time <= (now()-24h) and time <= now()",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -602,7 +602,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"/16"
|
"/{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -1421,7 +1421,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
" / 8"
|
" /{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -1446,7 +1446,7 @@
|
|||||||
"measurement": "docker_container_cpu",
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
"query": "SELECT \"mean_usage_percent\" / 8 FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-influxdb') AND time <= (now()-24h) and time <= now()",
|
"query": "SELECT \"mean_usage_percent\" /{{ CPUS }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-influxdb') AND time <= (now()-24h) and time <= now()",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -1460,7 +1460,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
" / 8"
|
" /{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -1604,7 +1604,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
" / 8"
|
" /{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -1629,7 +1629,7 @@
|
|||||||
"measurement": "docker_container_cpu",
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
"query": "SELECT \"mean_usage_percent\" /{{ CPU }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-logstash') AND time <= (now()-24h) and time <= now()",
|
"query": "SELECT \"mean_usage_percent\" /{{ CPUS }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-logstash') AND time <= (now()-24h) and time <= now()",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -1643,7 +1643,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"/16"
|
"/{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -1790,7 +1790,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
" / 8"
|
" /{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -1815,7 +1815,7 @@
|
|||||||
"measurement": "docker_container_cpu",
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
"query": "SELECT \"mean_usage_percent\" / 8 FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-suricata') AND time <= (now()-24h) and time <= now()",
|
"query": "SELECT \"mean_usage_percent\" /{{ CPUS }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-suricata') AND time <= (now()-24h) and time <= now()",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -1829,7 +1829,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
" / 8"
|
" /{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -1975,7 +1975,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
" / 8"
|
" /{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -2000,7 +2000,7 @@
|
|||||||
"measurement": "docker_container_cpu",
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
"query": "SELECT \"mean_usage_percent\" /{{ CPU }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-steno') AND time <= (now()-24h) and time <= now()",
|
"query": "SELECT \"mean_usage_percent\" /{{ CPUS }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-steno') AND time <= (now()-24h) and time <= now()",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -2014,7 +2014,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"/16"
|
"/{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -4506,7 +4506,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
" / 8"
|
" /{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -4531,7 +4531,7 @@
|
|||||||
"measurement": "docker_container_cpu",
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
"query": "SELECT \"mean_usage_percent\" /{{ CPU }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-zeek') AND time <= (now()-24h) and time <= now()",
|
"query": "SELECT \"mean_usage_percent\" /{{ CPUS }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-zeek') AND time <= (now()-24h) and time <= now()",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -4545,7 +4545,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"/16"
|
"/{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -6957,7 +6957,7 @@
|
|||||||
"measurement": "docker_container_cpu",
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"usage_percent\") / 8 FROM \"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-redis') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
"query": "SELECT mean(\"usage_percent\") /{{ CPUS }} FROM \"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-redis') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||||
"rawQuery": false,
|
"rawQuery": false,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -6975,7 +6975,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"/{{ CPU }}"
|
"/{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
@@ -7000,7 +7000,7 @@
|
|||||||
"measurement": "docker_container_cpu",
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
"query": "SELECT \"mean_usage_percent\" /{{ CPU }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-redis') AND time <= (now()-24h) and time <= now()",
|
"query": "SELECT \"mean_usage_percent\" /{{ CPUS }} FROM \"so_long_term\".\"docker_container_cpu\" WHERE (\"host\" = '{{ SERVERNAME }}' AND \"container_name\" = 'so-redis') AND time <= (now()-24h) and time <= now()",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -7014,7 +7014,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"/{{ CPU }}"
|
"/{{ CPUS }}"
|
||||||
],
|
],
|
||||||
"type": "math"
|
"type": "math"
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user