# Index rotation hour increases

**URL:** <https://discuss.elastic.co/t/index-rotation-hour-increases/330376>\
**Category:** Kibana\
**Tags:** ilm-index-lifecycle-management\
**Created:** [April 20, 2023, 9:51am UTC](https://discuss.elastic.co/t/index-rotation-hour-increases/330376 "2023-04-20T09:51:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nunex\_17](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@nunex\_17](https://discuss.elastic.co/u/nunex_17)\
**Post date:** [April 20, 2023, 9:51am UTC](https://discuss.elastic.co/t/index-rotation-hour-increases/330376/1 "2023-04-20T09:51:53Z")

</div>

Hi,

I am using ILM to rollover my indexes after a maximum age of 1 day. After some debug I noticed a strange pattern with this:

1 - first index is rotated at 2:34am  
2 - second index is rotated at 2:44am  
3 - third index is rotated at 2:54am  
4 - fourth index is rotated at 3:04am

It seems to be increasing 10 min every time each index is rotated. Is there any reason for this?

Thanks

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 20, 2023, 1:37pm UTC](https://discuss.elastic.co/t/index-rotation-hour-increases/330376/2 "2023-04-20T13:37:30Z")

</div>

> [@nunex\_17](#):
>
> It seems to be increasing 10 min every time each index is rotated. Is there any reason for this?

The ILM process checks the indices to see if they match any action on an scheduled interval, per default this interval is 10 minutes.

The maximum age is based on the index creation, so if you have a maximum age of 1 day, it will check your indices to see if they were created more than 24 hours before, if an index matchs this check, it will be rolled over.

Since it can take at least 10 minutes to apply the action, the behavior you describes seems to be normal and expected.

ILM works better with bigger intervals, if you want daily indices ILM is not the best option.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 20, 2023, 11:12pm UTC](https://discuss.elastic.co/t/index-rotation-hour-increases/330376/3 "2023-04-20T23:12:31Z")

</div>

> [@leandrojmp](#):
>
> if you want daily indices ILM is not the best option

If you want _exactly_ daily indices. yes. If you can live with a bit of variance though it's still the best option

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 18, 2023, 11:13pm UTC](https://discuss.elastic.co/t/index-rotation-hour-increases/330376/4 "2023-05-18T23:13:03Z")

</div>

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