mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
role template var now selects default role
This commit is contained in:
@@ -34,6 +34,8 @@ grafana:
|
|||||||
allValue: true
|
allValue: true
|
||||||
multi: true
|
multi: true
|
||||||
hide: 0
|
hide: 0
|
||||||
|
text: All
|
||||||
|
value: "$__all"
|
||||||
containers: {}
|
containers: {}
|
||||||
manint: {}
|
manint: {}
|
||||||
monint: {}
|
monint: {}
|
||||||
|
|||||||
@@ -3,17 +3,17 @@
|
|||||||
"current": {
|
"current": {
|
||||||
"selected": true,
|
"selected": true,
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"text": [],
|
"text": [{{ TEMPLATES.role.get('text', DASHBOARD)| json }}],
|
||||||
"value": []
|
"value": [{{ TEMPLATES.role.get('value', DASHBOARD)| json }}]
|
||||||
},
|
},
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
"definition": "show tag values with key=\"role\"",
|
"definition": "show tag values with key=\"role\"",
|
||||||
"description": null,
|
"description": null,
|
||||||
"error": null,
|
"error": null,
|
||||||
"hide": 0,
|
"hide": {{ TEMPLATES.role.get('hide', 0)| json }},
|
||||||
"includeAll": true,
|
"includeAll": {{ TEMPLATES.role.get('includeAll', true)| json }},
|
||||||
"label": "Role",
|
"label": "Role",
|
||||||
"multi": true,
|
"multi": {{ TEMPLATES.role.get('multi', true)| json }},
|
||||||
"name": "role",
|
"name": "role",
|
||||||
"options": [],
|
"options": [],
|
||||||
"query": "show tag values with key=\"role\"",
|
"query": "show tag values with key=\"role\"",
|
||||||
|
|||||||
Reference in New Issue
Block a user