Rename template to avoid duplication under different name

This commit is contained in:
weslambert
2020-02-20 11:20:06 -05:00
committed by GitHub
parent 689ef31189
commit 30a1197b44

View File

@@ -19,7 +19,7 @@ output {
elasticsearch { elasticsearch {
hosts => "{{ ES }}" hosts => "{{ ES }}"
index => "logstash-import-%{+YYYY.MM.dd}" index => "logstash-import-%{+YYYY.MM.dd}"
template_name => "logstash-*" template_name => "logstash"
template => "/logstash-template.json" template => "/logstash-template.json"
template_overwrite => true template_overwrite => true
} }