mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
select last value for cpucount var
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"allValue": null,
|
"allValue": null,
|
||||||
"current": {},
|
"current": {},
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
"definition": "SELECT \"n_cpus\" FROM \"system\" WHERE \"host\" =~ /^$servername$/",
|
"definition": "SELECT last(\"n_cpus\") FROM \"system\" WHERE \"host\" =~ /^$servername$/",
|
||||||
"description": null,
|
"description": null,
|
||||||
"error": null,
|
"error": null,
|
||||||
"hide": 2,
|
"hide": 2,
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
"multi": false,
|
"multi": false,
|
||||||
"name": "cpucount",
|
"name": "cpucount",
|
||||||
"options": [],
|
"options": [],
|
||||||
"query": "SELECT \"n_cpus\" FROM \"system\" WHERE \"host\" =~ /^$servername$/",
|
"query": "SELECT last(\"n_cpus\") FROM \"system\" WHERE \"host\" =~ /^$servername$/",
|
||||||
"refresh": 1,
|
"refresh": 1,
|
||||||
"regex": "",
|
"regex": "",
|
||||||
"skipUrlSync": false,
|
"skipUrlSync": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user