Add Logic for what dashboards to put down

This commit is contained in:
Mike Reeves
2018-11-25 19:09:38 -05:00
parent 03d16acd5d
commit 5b4252e996
3 changed files with 6822 additions and 1842 deletions

View File

@@ -1,6 +1,8 @@
apiVersion: 1
providers:
{%- if grains['role'] != 'so-eval' %}
- name: 'Security Onion'
orgId: 1
folder: 'Forward Nodes'
@@ -11,9 +13,27 @@ providers:
path: /etc/grafana/grafana_dashboards/forward_nodes
- name: 'Security Onion'
orgId: 1
folder: 'Eval Mode'
folder: 'Storage Nodes'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/storage_nodes
- name: 'Security Onion'
orgId: 1
folder: 'Master'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/forward_nodes
{%- else %}
- name: 'Security Onion'
orgId: 1
folder: 'Eval Mode'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/eval
{% endif %}

File diff suppressed because it is too large Load Diff