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