# Index lifecycle policy is not working

**URL:** https://discuss.elastic.co/t/index-lifecycle-policy-is-not-working/246792
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [August 28, 2020, 4:06pm UTC](https://discuss.elastic.co/t/index-lifecycle-policy-is-not-working/246792 "2020-08-28T16:06:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![olg32](https://avatars.discourse-cdn.com/v4/letter/o/35a633/32.png) [@olg32](https://discuss.elastic.co/u/olg32)
#### Post date: [August 28, 2020, 4:06pm UTC](https://discuss.elastic.co/t/index-lifecycle-policy-is-not-working/246792/1 "2020-08-28T16:06:32Z")

</div>

I've created a simple lifecycle policy where index records older than 10 days are deleted. Using Kibana I set the policy as follows:

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/b/d/bd2965dd96e2ddeeab074c3c54b26d1708a0d1c1.jpeg)

However, my index keeps growing by the day as I get daily index records that are older than the limit set in the policy. As seen in the picture, rollover is disabled so I'm wondering if I need to activate rollover and also Warm and Cold phases before old record index files can be deleted?

Thank you.

---

<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: [August 31, 2020, 4:33am UTC](https://discuss.elastic.co/t/index-lifecycle-policy-is-not-working/246792/2 "2020-08-31T04:33:14Z")

</div>

What is the output from `_ilm/explain` on the index?

---

<div class="post-metadata">

### Author: ![olg32](https://avatars.discourse-cdn.com/v4/letter/o/35a633/32.png) [@olg32](https://discuss.elastic.co/u/olg32)
#### Post date: [August 31, 2020, 4:02pm UTC](https://discuss.elastic.co/t/index-lifecycle-policy-is-not-working/246792/3 "2020-08-31T16:02:06Z")

</div>

Hi, This is what I got:

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/1/b/1b2217ba89e6119e35a02872b9bbc2b8700852bc.jpeg)

---

<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: [September 28, 2020, 4:02pm UTC](https://discuss.elastic.co/t/index-lifecycle-policy-is-not-working/246792/4 "2020-09-28T16:02:06Z")

</div>

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