Logstash qusetion about template change ?need restart?

logstash 6.2.3
i have a logstash input data to es with template?
output {
stdout {
codec => dots {}

  elasticsearch {
    hosts => ["http://xxx:9201/","http://xxx:9201","http://xxx:9201"]
    index => "apache_elastic_example"
    template => "./apache_template.json"
    template_name => "apache_elastic_example"
    template_overwrite => true

the question is : when the template.json mappling file is change ?
need restarth logstash to update the mapping or not?

I think the template is only uploaded when Logstash starts, so I guess a restart would be necessary.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.