mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
create common dashboard and define templates/dashbaord vars
This commit is contained in:
59
salt/grafana/dashboards/common_template.json.jinja
Normal file
59
salt/grafana/dashboards/common_template.json.jinja
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"annotations": {
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"builtIn": 1,
|
||||||
|
"datasource": "-- Grafana --",
|
||||||
|
"enable": true,
|
||||||
|
"hide": true,
|
||||||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||||||
|
"name": "Annotations & Alerts",
|
||||||
|
"type": "dashboard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"description": "MY DASHBOARD DESCRIPTION",
|
||||||
|
"editable": true,
|
||||||
|
"gnetId": null,
|
||||||
|
"graphTooltip": 0,
|
||||||
|
"id": 7,
|
||||||
|
"iteration": 1625757047565,
|
||||||
|
"links": [],
|
||||||
|
"panels": [
|
||||||
|
{% for panel in PANELS -%}
|
||||||
|
{%- import_json "grafana/panels/" ~ panel ~ ".json.jinja" as panel %}
|
||||||
|
{{ panel | json }} {% if not loop.last %},{% endif %}
|
||||||
|
{% endfor -%}
|
||||||
|
],
|
||||||
|
"schemaVersion": 27,
|
||||||
|
"style": "dark",
|
||||||
|
"tags": [],
|
||||||
|
"templating": {
|
||||||
|
"list": [
|
||||||
|
{% for template in TEMPLATES -%}
|
||||||
|
{%- import_json "grafana/templates/" ~ template ~ ".json" as panel %}
|
||||||
|
{{ template | json }} {% if not loop.last %},{% endif %}
|
||||||
|
{% endfor -%}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"from": "now-3h",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"timepicker": {
|
||||||
|
"refresh_intervals": [
|
||||||
|
"30s",
|
||||||
|
"1m",
|
||||||
|
"5m",
|
||||||
|
"15m",
|
||||||
|
"30m",
|
||||||
|
"1h",
|
||||||
|
"2h",
|
||||||
|
"1d"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"timezone": "browser",
|
||||||
|
"title": "MY DASHBOARD NAME - Standalone",
|
||||||
|
"uid": "{{ UID }}",
|
||||||
|
"version": 1
|
||||||
|
}
|
||||||
@@ -12,117 +12,131 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"description": "This Dashboard provides a general overview of Standalone Mode",
|
"description": "MY DASHBOARD DESCRIPTION",
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"gnetId": 2381,
|
"gnetId": null,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"id": 6,
|
"id": 7,
|
||||||
"iteration": 1625018989654,
|
"iteration": 1625757047565,
|
||||||
"links": [],
|
"links": [],
|
||||||
"panels": [
|
"panels": [],
|
||||||
{% for panel in PANELS -%}
|
|
||||||
{%- import_json "grafana/panels/" ~ panel ~ ".json.jinja" as panel %}
|
|
||||||
{{ panel | json }} {% if not loop.last %},{% endif %}
|
|
||||||
{% endfor -%}
|
|
||||||
|
|
||||||
],
|
|
||||||
"refresh": "30s",
|
|
||||||
"schemaVersion": 27,
|
"schemaVersion": 27,
|
||||||
"style": "dark",
|
"style": "dark",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"templating": {
|
"templating": {
|
||||||
"list": [
|
"list": [
|
||||||
{
|
{
|
||||||
"auto": true,
|
"allValue": null,
|
||||||
"auto_count": 30,
|
|
||||||
"auto_min": "10s",
|
|
||||||
"current": {
|
"current": {
|
||||||
"selected": false,
|
"selected": false,
|
||||||
"text": "10s",
|
"text": "eth0",
|
||||||
"value": "10s"
|
"value": "eth0"
|
||||||
},
|
},
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"definition": "SELECT \"manint\" FROM \"node_config\" WHERE (\"host\" = 'jppce2360sa-influx-scripts')",
|
||||||
"description": null,
|
"description": null,
|
||||||
"error": null,
|
"error": null,
|
||||||
"hide": 0,
|
"hide": 0,
|
||||||
"label": null,
|
"includeAll": false,
|
||||||
"name": "Interval",
|
"label": "Management Interface",
|
||||||
"options": [
|
"multi": false,
|
||||||
{
|
"name": "manint",
|
||||||
"selected": false,
|
"options": [],
|
||||||
"text": "auto",
|
"query": "SELECT \"manint\" FROM \"node_config\" WHERE (\"host\" = 'jppce2360sa-influx-scripts')",
|
||||||
"value": "$__auto_interval_Interval"
|
"refresh": 1,
|
||||||
},
|
"regex": "",
|
||||||
{
|
|
||||||
"selected": true,
|
|
||||||
"text": "10s",
|
|
||||||
"value": "10s"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "1m",
|
|
||||||
"value": "1m"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "10m",
|
|
||||||
"value": "10m"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "30m",
|
|
||||||
"value": "30m"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "1h",
|
|
||||||
"value": "1h"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "6h",
|
|
||||||
"value": "6h"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "12h",
|
|
||||||
"value": "12h"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "1d",
|
|
||||||
"value": "1d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "7d",
|
|
||||||
"value": "7d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "14d",
|
|
||||||
"value": "14d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "30d",
|
|
||||||
"value": "30d"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"query": "10s, 1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
|
|
||||||
"refresh": 3,
|
|
||||||
"skipUrlSync": false,
|
"skipUrlSync": false,
|
||||||
"type": "interval"
|
"sort": 0,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"allValue": null,
|
||||||
|
"current": {},
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"definition": "SELECT \"monint\" FROM \"node_config\" WHERE (\"host\" = 'jppce2360sa-influx-scripts')",
|
||||||
|
"description": null,
|
||||||
|
"error": null,
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": false,
|
||||||
|
"label": "Monitor Interface",
|
||||||
|
"multi": false,
|
||||||
|
"name": "monint",
|
||||||
|
"options": [],
|
||||||
|
"query": "SELECT \"monint\" FROM \"node_config\" WHERE (\"host\" = 'jppce2360sa-influx-scripts')",
|
||||||
|
"refresh": 1,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 0,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"allValue": null,
|
||||||
|
"current": {},
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"definition": "show tag values with key=\"host\" where \"role\" = 'standalone'",
|
||||||
|
"description": "",
|
||||||
|
"error": null,
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": false,
|
||||||
|
"label": "Node",
|
||||||
|
"multi": false,
|
||||||
|
"name": "servername",
|
||||||
|
"options": [],
|
||||||
|
"query": "show tag values with key=\"host\" where \"role\" = 'standalone'",
|
||||||
|
"refresh": 1,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 0,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"allValue": null,
|
||||||
|
"current": {
|
||||||
|
"selected": false,
|
||||||
|
"text": "",
|
||||||
|
"value": ""
|
||||||
|
},
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"definition": "SELECT \"n_cpus\" FROM \"system\" WHERE \"host\" = '$servername'",
|
||||||
|
"description": null,
|
||||||
|
"error": null,
|
||||||
|
"hide": 2,
|
||||||
|
"includeAll": false,
|
||||||
|
"label": "CPU Count",
|
||||||
|
"multi": false,
|
||||||
|
"name": "cpucount",
|
||||||
|
"options": [],
|
||||||
|
"query": "SELECT \"n_cpus\" FROM \"system\" WHERE \"host\" = '$servername'",
|
||||||
|
"refresh": 1,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 0,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"from": "now-1h",
|
"from": "now-3h",
|
||||||
"to": "now"
|
"to": "now"
|
||||||
},
|
},
|
||||||
"timepicker": {
|
"timepicker": {
|
||||||
"refresh_intervals": [
|
"refresh_intervals": [
|
||||||
"5s",
|
|
||||||
"10s",
|
|
||||||
"30s",
|
"30s",
|
||||||
"1m",
|
"1m",
|
||||||
"5m",
|
"5m",
|
||||||
@@ -131,21 +145,10 @@
|
|||||||
"1h",
|
"1h",
|
||||||
"2h",
|
"2h",
|
||||||
"1d"
|
"1d"
|
||||||
],
|
|
||||||
"time_options": [
|
|
||||||
"5m",
|
|
||||||
"15m",
|
|
||||||
"1h",
|
|
||||||
"6h",
|
|
||||||
"12h",
|
|
||||||
"24h",
|
|
||||||
"2d",
|
|
||||||
"7d",
|
|
||||||
"30d"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"timezone": "browser",
|
"timezone": "browser",
|
||||||
"title": "Standalone - {{ SERVERNAME }} Overview",
|
"title": "Standalone Dashboard",
|
||||||
"uid": "{{ UID }}",
|
"uid": "{{ UID }}",
|
||||||
"version": 17
|
"version": 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,130 +0,0 @@
|
|||||||
{
|
|
||||||
"annotations": {
|
|
||||||
"list": [
|
|
||||||
{
|
|
||||||
"builtIn": 1,
|
|
||||||
"datasource": "-- Grafana --",
|
|
||||||
"enable": true,
|
|
||||||
"hide": true,
|
|
||||||
"iconColor": "rgba(0, 211, 255, 1)",
|
|
||||||
"name": "Annotations & Alerts",
|
|
||||||
"type": "dashboard"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"description": "MY DASHBOARD DESCRIPTION",
|
|
||||||
"editable": true,
|
|
||||||
"gnetId": null,
|
|
||||||
"graphTooltip": 0,
|
|
||||||
"id": 7,
|
|
||||||
"iteration": 1625251118337,
|
|
||||||
"links": [],
|
|
||||||
"panels": [],
|
|
||||||
"schemaVersion": 27,
|
|
||||||
"style": "dark",
|
|
||||||
"tags": [],
|
|
||||||
"templating": {
|
|
||||||
"list": [
|
|
||||||
{
|
|
||||||
"allValue": null,
|
|
||||||
"current": {
|
|
||||||
"selected": false,
|
|
||||||
"text": "mynode1",
|
|
||||||
"value": "mynode1"
|
|
||||||
},
|
|
||||||
"description": "",
|
|
||||||
"error": null,
|
|
||||||
"hide": 0,
|
|
||||||
"includeAll": false,
|
|
||||||
"label": "Node",
|
|
||||||
"multi": false,
|
|
||||||
"name": "query0",
|
|
||||||
"options": [
|
|
||||||
{
|
|
||||||
"selected": true,
|
|
||||||
"text": "mynode1",
|
|
||||||
"value": "mynode1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "mynode2",
|
|
||||||
"value": "mynode2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"selected": false,
|
|
||||||
"text": "mynode3",
|
|
||||||
"value": "mynode3"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"query": "mynode1,mynode2,mynode3",
|
|
||||||
"queryValue": "",
|
|
||||||
"skipUrlSync": false,
|
|
||||||
"type": "custom"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"current": {
|
|
||||||
"selected": true,
|
|
||||||
"text": "{{ MANINT }}",
|
|
||||||
"value": "{{ MANINT }}"
|
|
||||||
},
|
|
||||||
"description": null,
|
|
||||||
"error": null,
|
|
||||||
"hide": 0,
|
|
||||||
"label": "Management Interface",
|
|
||||||
"name": "manint",
|
|
||||||
"options": [
|
|
||||||
{
|
|
||||||
"selected": true,
|
|
||||||
"text": "{{ MANINT }}",
|
|
||||||
"value": "{{ MANINT }}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"query": "{{ MANINT }}",
|
|
||||||
"skipUrlSync": false,
|
|
||||||
"type": "textbox"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"current": {
|
|
||||||
"selected": true,
|
|
||||||
"text": "{{ MONINT }}",
|
|
||||||
"value": "{{ MONINT }}"
|
|
||||||
},
|
|
||||||
"description": null,
|
|
||||||
"error": null,
|
|
||||||
"hide": 2,
|
|
||||||
"label": "Monitor Interface",
|
|
||||||
"name": "monint",
|
|
||||||
"options": [
|
|
||||||
{
|
|
||||||
"selected": true,
|
|
||||||
"text": "{{ MONINT }}",
|
|
||||||
"value": "{{ MONINT }}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"query": "{{ MONINT }}",
|
|
||||||
"skipUrlSync": false,
|
|
||||||
"type": "textbox"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"time": {
|
|
||||||
"from": "now-6h",
|
|
||||||
"to": "now"
|
|
||||||
},
|
|
||||||
"timepicker": {
|
|
||||||
"refresh_intervals": [
|
|
||||||
"30s",
|
|
||||||
"1m",
|
|
||||||
"5m",
|
|
||||||
"15m",
|
|
||||||
"30m",
|
|
||||||
"1h",
|
|
||||||
"2h",
|
|
||||||
"1d"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"timezone": "browser",
|
|
||||||
"title": "MY DASHBOARD NAME",
|
|
||||||
"uid": "IQqwsPznk",
|
|
||||||
"version": 3
|
|
||||||
}
|
|
||||||
@@ -26,6 +26,11 @@ grafana:
|
|||||||
# license_path: /opt/so/conf/grafana/etc/files/license.jwt
|
# license_path: /opt/so/conf/grafana/etc/files/license.jwt
|
||||||
dashboards:
|
dashboards:
|
||||||
standalone:
|
standalone:
|
||||||
|
templating:
|
||||||
|
list:
|
||||||
|
- servername
|
||||||
|
- manint
|
||||||
|
- monint
|
||||||
panels:
|
panels:
|
||||||
cpu_usage_idle:
|
cpu_usage_idle:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -125,15 +125,11 @@ common-standalone-dashboard:
|
|||||||
- user: 939
|
- user: 939
|
||||||
- group: 939
|
- group: 939
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- source: salt://grafana/dashboards/standalone/common_standalone.json.jinja
|
- source: salt://grafana/dashboards/common_template.json.jinja
|
||||||
- defaults:
|
- defaults:
|
||||||
SERVERNAME: {{ SN }}
|
UID: so_overview
|
||||||
MANINT: {{ SNDATA.manint }}
|
PANELS: {{GRAFANA_SETTINGS.dashboards.standalone.panels}}
|
||||||
CPUS: {{ SNDATA.totalcpus }}
|
TEMPLATES: {{GRAFANA_SETTINGS.dashboards.standalone.templates}}
|
||||||
UID: so_overview
|
|
||||||
ROOTFS: {{ SNDATA.rootfs }}
|
|
||||||
NSMFS: {{ SNDATA.nsmfs }}
|
|
||||||
PANELS: {{GRAFANA_SETTINGS.dashboards.standalone.panels}}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
24
salt/grafana/templates/cpucount.json
Normal file
24
salt/grafana/templates/cpucount.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"allValue": null,
|
||||||
|
"current": {},
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"definition": "SELECT \"n_cpus\" FROM \"system\" WHERE \"host\" = '$servername'",
|
||||||
|
"description": null,
|
||||||
|
"error": null,
|
||||||
|
"hide": 2,
|
||||||
|
"includeAll": false,
|
||||||
|
"label": "CPU Count",
|
||||||
|
"multi": false,
|
||||||
|
"name": "cpucount",
|
||||||
|
"options": [],
|
||||||
|
"query": "SELECT \"n_cpus\" FROM \"system\" WHERE \"host\" = '$servername'",
|
||||||
|
"refresh": 1,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 0,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
}
|
||||||
24
salt/grafana/templates/mainint.json
Normal file
24
salt/grafana/templates/mainint.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"allValue": null,
|
||||||
|
"current": {},
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"definition": "SELECT \"manint\" FROM \"node_config\" WHERE (\"host\" = '$servername')",
|
||||||
|
"description": null,
|
||||||
|
"error": null,
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": false,
|
||||||
|
"label": "Management Interface",
|
||||||
|
"multi": false,
|
||||||
|
"name": "manint",
|
||||||
|
"options": [],
|
||||||
|
"query": "SELECT \"manint\" FROM \"node_config\" WHERE (\"host\" = '$servername')",
|
||||||
|
"refresh": 1,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 0,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
}
|
||||||
24
salt/grafana/templates/monint.json
Normal file
24
salt/grafana/templates/monint.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"allValue": null,
|
||||||
|
"current": {},
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"definition": "SELECT \"monint\" FROM \"node_config\" WHERE (\"host\" = '$servername')",
|
||||||
|
"description": null,
|
||||||
|
"error": null,
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": false,
|
||||||
|
"label": "Monitor Interface",
|
||||||
|
"multi": false,
|
||||||
|
"name": "monint",
|
||||||
|
"options": [],
|
||||||
|
"query": "SELECT \"monint\" FROM \"node_config\" WHERE (\"host\" = '$servername')",
|
||||||
|
"refresh": 1,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 0,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
}
|
||||||
24
salt/grafana/templates/role.json
Normal file
24
salt/grafana/templates/role.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"allValue": null,
|
||||||
|
"current": {},
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"definition": "show tag values with key=\"role\"",
|
||||||
|
"description": null,
|
||||||
|
"error": null,
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": true,
|
||||||
|
"label": "Role",
|
||||||
|
"multi": true,
|
||||||
|
"name": "role",
|
||||||
|
"options": [],
|
||||||
|
"query": "show tag values with key=\"role\"",
|
||||||
|
"refresh": 1,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 1,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
}
|
||||||
24
salt/grafana/templates/servername.json
Normal file
24
salt/grafana/templates/servername.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"allValue": null,
|
||||||
|
"current": {},
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"definition": "show tag values with key=\"host\" where \"role\" = 'standalone'",
|
||||||
|
"description": "",
|
||||||
|
"error": null,
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": false,
|
||||||
|
"label": "Node",
|
||||||
|
"multi": false,
|
||||||
|
"name": "servername",
|
||||||
|
"options": [],
|
||||||
|
"query": "show tag values with key=\"host\" where \"role\" = 'standalone'",
|
||||||
|
"refresh": 1,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 0,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user