From a3e48f031506e44448d2510f98619ddc7876126d Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Wed, 26 Feb 2020 10:58:39 -0500 Subject: [PATCH] logstash cleanup and conflict resolution - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/326 --- salt/logstash/init.sls | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/salt/logstash/init.sls b/salt/logstash/init.sls index 6a12557ec..b93ef1f43 100644 --- a/salt/logstash/init.sls +++ b/salt/logstash/init.sls @@ -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