Automatically Applying Existing ILM Policy to Newly Created Indicies

I have indicies that daily created by logstash in Elasticsearch called "logstash-*"

I have a ILM policy to clean up indicies that are 10 days old.

How do I ensure newly created indices have the ILM Policy automatically added to them?

Thanks.

You will need to add the policy to the Logstash template - Manage existing indices | Elasticsearch Guide [7.15] | Elastic

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