elasticsearchluceneelasticsearch-template

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


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?


Solution

  • 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)