From 8275f458a18f3187a8c14ee3435072052f77e016 Mon Sep 17 00:00:00 2001 From: Wes Lambert Date: Thu, 16 Jul 2020 13:30:38 +0000 Subject: [PATCH] Fix module eval --- .../logstash/pipelines/config/so/9700_output_strelka.conf.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/logstash/pipelines/config/so/9700_output_strelka.conf.jinja b/salt/logstash/pipelines/config/so/9700_output_strelka.conf.jinja index 9fd074f3f..0e6977e29 100644 --- a/salt/logstash/pipelines/config/so/9700_output_strelka.conf.jinja +++ b/salt/logstash/pipelines/config/so/9700_output_strelka.conf.jinja @@ -4,7 +4,7 @@ {%- set ES = salt['pillar.get']('elasticsearch:mainip', '') -%} {%- endif %} output { - if [event_type] =~ "strelka" { + if [module] =~ "strelka" { elasticsearch { pipeline => "%{module}.%{dataset}" hosts => "{{ ES }}"