mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
Kibana salt module - All systems go for test
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
|
||||
|
||||
# Add ES Group
|
||||
kibanasearchgroup:
|
||||
group.present:
|
||||
- name: elasticsearch
|
||||
- name: kibana
|
||||
- gid: 932
|
||||
|
||||
# Add ES user
|
||||
kibanasearch:
|
||||
kibana:
|
||||
user.present:
|
||||
- uid: 932
|
||||
- gid: 932
|
||||
@@ -28,13 +30,15 @@ kibanalogdir:
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
kibanalogdir:
|
||||
kibanacustdashdir:
|
||||
file.directory:
|
||||
- name: /opt/so/conf/kibana/customdashboards
|
||||
- user: 932
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
# File.Recurse for custom saved dashboards
|
||||
|
||||
# Start the kibana docker
|
||||
so-kibana:
|
||||
docker_container.running:
|
||||
@@ -43,9 +47,12 @@ so-kibana:
|
||||
- user: kibana
|
||||
- environment:
|
||||
- KIBANA_DEFAULTAPPID=$KIBANA_DEFAULTAPPID
|
||||
- ELASTICSEARCH_HOST={{ grains.host }}
|
||||
- ELASTICSEARCH_PORT=9200
|
||||
- binds:
|
||||
- /opt/so/conf/kibana/:/usr/share/kibana/config/:ro
|
||||
- /opt/so/log/kibana:/var/log/kibana:rw
|
||||
- /opt/so/conf/kibana/custdashboards/:/usr/share/kibana/custdashboards/:ro
|
||||
- network_mode: so-elastic-net
|
||||
- port_bindings:
|
||||
- 127.0.01:5601:5601
|
||||
|
||||
Reference in New Issue
Block a user