Can we create template in elastic search autoatically for new index pattern?

107 views Asked by At

We have a index pattern filebeat-7.10.2* and we have template for this. Now I want a template created automatically for index filebeat-8.6.0. Is it possible?

1

There are 1 answers

2
Val On BEST ANSWER

Yes, you just need to install Filebeat 8.6 and run it.

Once installed, you can run the setup command which will install the index template for the 8.6.0 version

./filebeat setup --index-management

Or just run...

./filebeat setup 

...if you want to install everything (dashboard, pipelines, ILM, templates, etc)