Is there any downside to using logstash managed template vs elasticsearch index template? The output for logstash looks like %{type}-%{+YYYY.MM.dd}, so I'm not sure if logstash mapped template can even be like %{type}.json.
Reason I'd prefer it through logstash is it's easier to manage that through puppet than posting into ES which is kind of stateful
Logstash checks when it starts the elasticsearch output that the template exists or not in elasticsearch. If not, it sends the template using PUT _template API.
Actually sorry just though - if I point to templates.json and so templates are approrpriately created, if I update that file, will logstash see the file is updated and PUT the template again? Or does it only check by name basically?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.