mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-18 06:01:41 +01:00
Add Logic for what dashboards to put down
This commit is contained in:
@@ -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
3939
salt/common/grafana/grafana_dashboards/storage_nodes/sensor.json
Normal file
3939
salt/common/grafana/grafana_dashboards/storage_nodes/sensor.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user