mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 02:32:46 +01:00
logstash cleanup and conflict resolution - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/326
This commit is contained in:
@@ -78,14 +78,6 @@ lsetcdir:
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
# templates not specific to pipeline
|
||||
lscusttemplatedir:
|
||||
file.directory:
|
||||
- name: /opt/so/conf/logstash/custom/templates
|
||||
- user: 931
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
{% for PL in PIPELINES %}
|
||||
ls_pipeline_{{PL}}:
|
||||
file.directory:
|
||||
@@ -141,21 +133,6 @@ lsetcsync:
|
||||
- template: jinja
|
||||
- exclude_pat: pipelines*
|
||||
|
||||
lssync:
|
||||
file.recurse:
|
||||
- name: /opt/so/conf/logstash/dynamic
|
||||
- source: salt://logstash/files/dynamic
|
||||
- user: 931
|
||||
- group: 939
|
||||
- template: jinja
|
||||
|
||||
lscustsync:
|
||||
file.recurse:
|
||||
- name: /opt/so/conf/logstash/custom
|
||||
- source: salt://logstash/files/custom
|
||||
- user: 931
|
||||
- group: 939
|
||||
|
||||
# Create the import directory
|
||||
importdir:
|
||||
file.directory:
|
||||
@@ -219,6 +196,5 @@ so-logstash:
|
||||
{%- endif %}
|
||||
- watch:
|
||||
- file: /opt/so/conf/logstash/etc
|
||||
- file: /opt/so/conf/logstash/custom
|
||||
- file: /opt/so/conf/logstash/pipelines
|
||||
#- file: /opt/so/conf/logstash/rulesets
|
||||
- file: /opt/so/conf/logstash/dynamic
|
||||
|
||||
Reference in New Issue
Block a user