mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 11:42:50 +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
|
- group: 939
|
||||||
- makedirs: True
|
- 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 %}
|
{% for PL in PIPELINES %}
|
||||||
ls_pipeline_{{PL}}:
|
ls_pipeline_{{PL}}:
|
||||||
file.directory:
|
file.directory:
|
||||||
@@ -141,21 +133,6 @@ lsetcsync:
|
|||||||
- template: jinja
|
- template: jinja
|
||||||
- exclude_pat: pipelines*
|
- 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
|
# Create the import directory
|
||||||
importdir:
|
importdir:
|
||||||
file.directory:
|
file.directory:
|
||||||
@@ -219,6 +196,5 @@ so-logstash:
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
- watch:
|
- watch:
|
||||||
- file: /opt/so/conf/logstash/etc
|
- 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/rulesets
|
||||||
- file: /opt/so/conf/logstash/dynamic
|
|
||||||
|
|||||||
Reference in New Issue
Block a user