diff --git a/salt/logstash/files/dynamic/9001_output_switch.conf b/salt/logstash/files/dynamic/9001_output_switch.conf index 820bf8f3f..c3dea84da 100644 --- a/salt/logstash/files/dynamic/9001_output_switch.conf +++ b/salt/logstash/files/dynamic/9001_output_switch.conf @@ -16,7 +16,7 @@ output { if "switch" in [tags] and "test_data" not in [tags] { #stdout { codec => rubydebug } elasticsearch { - hosts => "{{ ES }}"" + hosts => "{{ ES }}" index => "logstash-switch-%{+YYYY.MM.dd}" template => "/logstash-template.json" } diff --git a/salt/logstash/files/dynamic/9002_output_import.conf b/salt/logstash/files/dynamic/9002_output_import.conf index d3512f222..0a9d34726 100644 --- a/salt/logstash/files/dynamic/9002_output_import.conf +++ b/salt/logstash/files/dynamic/9002_output_import.conf @@ -14,7 +14,7 @@ output { if "import" in [tags] and "test_data" not in [tags] { # stdout { codec => rubydebug } elasticsearch { - hosts => "{{ ES }}"" + hosts => "{{ ES }}" index => "logstash-import-%{+YYYY.MM.dd}" template_name => "logstash-*" template => "/logstash-template.json"