I have update the logstash version form 1.4.2 to 2.1.1, then tried to use template_overwrite => true configuration inside the elasticsearch plugin, but this configuration is not wokring.
Below i have mentioned output configuration
output {
elasticsearch { hosts => [".*.***.***:9200"] }
template_overwrite => true
stdout { codec => rubydebug }
}
I am getting below error
"Error: Expected one of #, { at line 5, column 22 (byte 271) after output {
- elasticsearch { hosts => [".*.***.**:9200"] }
- template_overwrite"*
Kindly help in solving above issue.