# Applying ilm to system template

**URL:** <https://discuss.elastic.co/t/applying-ilm-to-system-template/321751>\
**Category:** Kibana\
**Tags:** ilm-index-lifecycle-management\
**Created:** [December 21, 2022, 11:05am UTC](https://discuss.elastic.co/t/applying-ilm-to-system-template/321751 "2022-12-21T11:05:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikhatanu](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mikhatanu](https://discuss.elastic.co/u/mikhatanu)\
**Post date:** [December 21, 2022, 11:05am UTC](https://discuss.elastic.co/t/applying-ilm-to-system-template/321751/1 "2022-12-21T11:05:29Z")

</div>

Hello, i enabled monitoring in stack monitoring section in kibana, and it generated indexes .monitoring-es-7-\* and .monitoring-kibana-7-\*. I wanted to apply ILM to this indexes as there's currently no ilm attached. I tried to apply to the legacy index template, it showed there.

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

but it's missing in the ilm section:

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

The ilm is set to delete after 3 days, but the index is still there:

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

Will it trigger at certain time? or will it be triggered automatically the moment the ilm is applied? or is it not applied yet?

edit: i'm using kibana and elasticsearch verison 8.4.3

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [December 21, 2022, 10:14pm UTC](https://discuss.elastic.co/t/applying-ilm-to-system-template/321751/2 "2022-12-21T22:14:00Z")

</div>

@alisongoryachev can we please get some help here? Thanks!

---

<div class="post-metadata">

**Author:** ![mikhatanu](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mikhatanu](https://discuss.elastic.co/u/mikhatanu)\
**Post date:** [December 30, 2022, 7:53am UTC](https://discuss.elastic.co/t/applying-ilm-to-system-template/321751/3 "2022-12-30T07:53:29Z")

</div>

Just looked at the .monitoring index, the ilm is indeed applied, although it took some time. I'm sorry for the confusion

---

<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:** [January 27, 2023, 7:54am UTC](https://discuss.elastic.co/t/applying-ilm-to-system-template/321751/4 "2023-01-27T07:54:00Z")

</div>

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