From 1e0d0d74e1b40e64869818e32e659362fd6b7635 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 30 Jan 2020 16:16:21 -0500 Subject: [PATCH] Fix Eval Event Pickup x2 --- salt/logstash/init.sls | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/salt/logstash/init.sls b/salt/logstash/init.sls index f92f047fa..c61bee921 100644 --- a/salt/logstash/init.sls +++ b/salt/logstash/init.sls @@ -130,7 +130,7 @@ lspipelinesyml: - name: /opt/so/conf/logstash/etc/pipelines.yml - source: salt://logstash/etc/pipelines.yml.jinja - template: jinja - - defaults: + - defaults: pipelines: {{ pipelines }} # Copy down all the configs including custom - TODO add watch restart @@ -166,7 +166,7 @@ lsconfsync: - source: salt://logstash/conf/conf.enabled.txt.so-master {% else %} - source: salt://logstash/conf/conf.enabled.txt.{{ nodetype }} -{% endif %} +{% endif %} - user: 931 - group: 939 - template: jinja @@ -241,6 +241,10 @@ so-logstash: {%- if grains['role'] == 'so-eval' %} - /nsm/bro:/nsm/bro:ro - /opt/so/log/suricata:/suricata:ro + - /opt/so/wazuh/logs/alerts/:/wazuh/alerts:ro + - /opt/so/wazuh/logs/archives/:/wazuh/archives:ro + - /opt/so/log/fleet/:/osquery/logs:ro + - /opt/so/log/strelka:/strelka:ro {%- endif %} - watch: - file: /opt/so/conf/logstash/etc