I'm a little bit confused in finding a way to manage ES templates.
Now I edit them manually via Cerebro. But I'd like to store it in some storage like git and push them automatically.
I know that Logstash output has ability to push templates, but have a few questions regarding this feature.
- I have several template with different order. Can I push them in one output block, or I should create several output blocks one per template?
- I also have may outputs in my logstash config with different index names. Should I pass templates with every output?
- Let's assume that I made some change in templates. I want new indices to be created with new mappings. How can I make sure that templates will be loaded into ES before data will actually flow?