mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
ES salt module - Add logstash linkage
This commit is contained in:
@@ -24,6 +24,42 @@ elasticsearch:
|
||||
- gid: 930
|
||||
- home: /opt/so/conf/elasticsearch
|
||||
|
||||
# Add the logstash user for the jog4j settings
|
||||
logstash:
|
||||
user.present:
|
||||
- uid: 931
|
||||
- gid: 931
|
||||
- home: /opt/so/conf/logstash
|
||||
|
||||
file.directory:
|
||||
- name: /opt/so/conf/logstash
|
||||
- user: 931
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
file.manage:
|
||||
- name: /opt/so/conf/logstash/log4j2.properties
|
||||
- source: salt://logstash/files/log4j2.properties
|
||||
- user: 931
|
||||
- group: 939
|
||||
|
||||
file.directory:
|
||||
- name: /opt/so/conf/elasticsearch
|
||||
- user: 930
|
||||
- group: 939
|
||||
|
||||
file.directory:
|
||||
- name: /nsm/elasticsearch
|
||||
- user: 930
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
file.directory:
|
||||
- name: /opt/so/log/elasticsearch
|
||||
- user: 930
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
so-elasticsearch:
|
||||
dockerng.running:
|
||||
- image: pillaritem/so-elasticsearch
|
||||
|
||||
Reference in New Issue
Block a user