mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
single quote cpucount
This commit is contained in:
@@ -57,13 +57,13 @@
|
||||
{
|
||||
"type": "math",
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"measurement": "docker_container_cpu",
|
||||
"query": "SELECT mean(\"usage_percent\") /$cpucount FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-elasticsearch') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||
"query": "SELECT mean(\"usage_percent\") /'$cpucount' FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-elasticsearch') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||
"rawQuery": false,
|
||||
"hide": false,
|
||||
"alias": "elasticsearch"
|
||||
@@ -116,7 +116,7 @@
|
||||
{
|
||||
"type": "math",
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -172,7 +172,7 @@
|
||||
{
|
||||
"type": "math",
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -228,7 +228,7 @@
|
||||
{
|
||||
"type": "math",
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -284,7 +284,7 @@
|
||||
{
|
||||
"type": "math",
|
||||
"params": [
|
||||
"/$cpucount"
|
||||
"/'$cpucount'"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -340,7 +340,7 @@
|
||||
{
|
||||
"type": "math",
|
||||
"params": [
|
||||
"/$cpucount"
|
||||
"/'$cpucount'"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -396,7 +396,7 @@
|
||||
{
|
||||
"type": "math",
|
||||
"params": [
|
||||
"/$cpucount"
|
||||
"/'$cpucount'"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -452,7 +452,7 @@
|
||||
{
|
||||
"type": "math",
|
||||
"params": [
|
||||
"/$cpucount"
|
||||
"/'$cpucount'"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -508,7 +508,7 @@
|
||||
{
|
||||
"type": "math",
|
||||
"params": [
|
||||
"/$cpucount"
|
||||
"/'$cpucount'"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
@@ -148,7 +148,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
@@ -144,7 +144,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
@@ -144,7 +144,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
@@ -144,7 +144,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
"measurement": "docker_container_cpu",
|
||||
"orderByTime": "ASC",
|
||||
"policy": "default",
|
||||
"query": "SELECT mean(\"usage_percent\") /$cpucount 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\") /'$cpucount' FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-redis') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||
"rawQuery": false,
|
||||
"refId": "A",
|
||||
"resultFormat": "time_series",
|
||||
@@ -90,7 +90,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
"/$cpucount"
|
||||
"/'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
@@ -130,7 +130,7 @@
|
||||
"measurement": "docker_container_cpu",
|
||||
"orderByTime": "ASC",
|
||||
"policy": "so_long_term",
|
||||
"query": "SELECT mean(\"usage_percent\") /$cpucount 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\") /'$cpucount' FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-redis') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||
"rawQuery": false,
|
||||
"refId": "B",
|
||||
"resultFormat": "time_series",
|
||||
@@ -148,7 +148,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
"/$cpucount"
|
||||
"/'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
@@ -139,7 +139,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
@@ -148,7 +148,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
@@ -148,7 +148,7 @@
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
" /$cpucount"
|
||||
" /'$cpucount'"
|
||||
],
|
||||
"type": "math"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user