# How to enable ILM policy for an index

**URL:** https://discuss.elastic.co/t/how-to-enable-ilm-policy-for-an-index/264019
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [February 11, 2021, 1:04pm UTC](https://discuss.elastic.co/t/how-to-enable-ilm-policy-for-an-index/264019 "2021-02-11T13:04:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![testsemd\_email](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/testsemd_email/32/82657_2.png) [@testsemd\_email](https://discuss.elastic.co/u/testsemd_email)
#### Post date: [February 11, 2021, 1:04pm UTC](https://discuss.elastic.co/t/how-to-enable-ilm-policy-for-an-index/264019/1 "2021-02-11T13:04:02Z")

</div>

I created ILM policy to move after 1 day from the hot phase to the warm phase.  
But it didn't work.

 ![ela prob1](https://us1.discourse-cdn.com/elastic/original/3X/8/c/8c3cec8058bb7ad203213de15e40c36a4d3830af.jpeg)

I want to make "managed": true for the above output and enable policy for index.

When looking at the index template settings, it is as below.  
 ![ela prob12](https://us1.discourse-cdn.com/elastic/original/3X/3/3/3331edb8270d46b73be11babfa628ac4681490bc.jpeg)

---

<div class="post-metadata">

### Author: ![stcdarrell](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@stcdarrell](https://discuss.elastic.co/u/stcdarrell)
#### Post date: [February 15, 2021, 6:58pm UTC](https://discuss.elastic.co/t/how-to-enable-ilm-policy-for-an-index/264019/2 "2021-02-15T18:58:50Z")

</div>

this is not as easy as it should be in elasticsearch/kibana.

this document is what i followed and worked.. but there should be an easier way.

> **[Tutorial: Automate rollover with ILM | Elasticsearch Reference \[7.10\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/getting-started-index-lifecycle-management.html)**

---

<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: [March 15, 2021, 6:59pm UTC](https://discuss.elastic.co/t/how-to-enable-ilm-policy-for-an-index/264019/3 "2021-03-15T18:59:47Z")

</div>

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