Logstash Module - Fix jinja syntax

This commit is contained in:
Mike Reeves
2018-09-19 15:35:29 -04:00
parent 683662bdee
commit c9b7786baf
2 changed files with 2 additions and 2 deletions

View File

@@ -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"
}

View File

@@ -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"