# ILM doesn't work

**URL:** <https://discuss.elastic.co/t/ilm-doesnt-work/284285>\
**Category:** Kibana\
**Tags:** ilm-index-lifecycle-management\
**Created:** [September 15, 2021, 12:50pm UTC](https://discuss.elastic.co/t/ilm-doesnt-work/284285 "2021-09-15T12:50:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vp096](https://avatars.discourse-cdn.com/v4/letter/v/da6949/32.png) [@vp096](https://discuss.elastic.co/u/vp096)\
**Post date:** [September 15, 2021, 12:50pm UTC](https://discuss.elastic.co/t/ilm-doesnt-work/284285/1 "2021-09-15T12:50:50Z")

</div>

Hello everyone,

I send data every day on one index, and I would like to delete all the data older than 15 minutes. I have set up the following ILM:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/2/22d8331a5924688d29ee3d8fd2a6674865c80d74.png)

I notice that after 15 minutes nothing happens, then after about 25-30 minutes all past data is deleted except the last 5 minutes :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8b2146f212854d9555096c463484ccaa048848bd.png)

Why is the system not able to keep the last 15 minutes at all times with this configuration?

Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)\
**Post date:** [September 15, 2021, 6:48pm UTC](https://discuss.elastic.co/t/ilm-doesnt-work/284285/2 "2021-09-15T18:48:20Z")

</div>

Hi @vp096 , pinging @Yulia_Cech from stack management team to help.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 15, 2021, 7:09pm UTC](https://discuss.elastic.co/t/ilm-doesnt-work/284285/3 "2021-09-15T19:09:49Z")

</div>

Hi @vp096

Is your use case really about deleting data 15 mins old, or are you just testing?

The reason I ask is ILM is not really design to operate on "Minute" Scheduled or Small KB/MB indices is designed to manage large scale indices GB, Hours, Days etc. and for that it works very well.

I posted a bit about it [here](https://discuss.elastic.co/t/rollover-goes-beyond-the-condition/207442/2) and another elastician [here](https://discuss.elastic.co/t/lifecycle-policies-dont-work/276218/13)

---

<div class="post-metadata">

**Author:** ![vp096](https://avatars.discourse-cdn.com/v4/letter/v/da6949/32.png) [@vp096](https://discuss.elastic.co/u/vp096)\
**Post date:** [September 16, 2021, 5:58am UTC](https://discuss.elastic.co/t/ilm-doesnt-work/284285/4 "2021-09-16T05:58:24Z")

</div>

Thank you for your response. Yes, it was for testing before putting it in production. But I understand well and I will perform these tests with much larger intervals and more data.

Thanks for your help.

---

<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:** [October 14, 2021, 5:58am UTC](https://discuss.elastic.co/t/ilm-doesnt-work/284285/5 "2021-10-14T05:58:27Z")

</div>

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