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