IML for daily indices - how?

Hello gyus,
how properly setup index lifecycle management in Elastic stack 7.6 if using daily indices?
I found this docs - https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-index-lifecycle-management.html but it seems that this is not for daily indices.
I basically want create IML policy for hot-warm architecture.
PS: I already have node attributes set.

The rollover criteria can have a max_age parameter, which you could set to 1 day if you ILM to automatically do the rollover. If you're planning on rolling over from the client side, you can use a policy that has no rollover action at all.

I would caution you though, that daily indices are a pattern that you should try to get away from, instead favoring indices based on size rather than time period.

1 Like

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