# ILM: index not showing in Cold phase and Delete phase

**URL:** <https://discuss.elastic.co/t/ilm-index-not-showing-in-cold-phase-and-delete-phase/272289>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [May 6, 2021, 12:22pm UTC](https://discuss.elastic.co/t/ilm-index-not-showing-in-cold-phase-and-delete-phase/272289 "2021-05-06T12:22:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![neko](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@neko](https://discuss.elastic.co/u/neko)\
**Post date:** [May 6, 2021, 12:22pm UTC](https://discuss.elastic.co/t/ilm-index-not-showing-in-cold-phase-and-delete-phase/272289/1 "2021-05-06T12:22:23Z")

</div>

Hi,  
I'm using Winlogbeat and i've defined a lifecycle with the following phases: Hot, Warm, Cold and Delete. In Index Management i have indices only for Hot and Warm phases.  
Could someone tell me what is wrong?  
Any help will be appreciated.

Thank you!

---

<div class="post-metadata">

**Author:** ![neko](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@neko](https://discuss.elastic.co/u/neko)\
**Post date:** [May 6, 2021, 12:36pm UTC](https://discuss.elastic.co/t/ilm-index-not-showing-in-cold-phase-and-delete-phase/272289/2 "2021-05-06T12:36:35Z")

</div>

Here is my ILM Policy

PUT \_ilm/policy/winlogbeat  
{  
"policy": {  
"phases": {  
"hot": {  
"min\_age": "0ms",  
"actions": {  
"rollover": {  
"max\_age": "1d",  
"max\_size": "3gb"  
},  
"set\_priority": {  
"priority": 100  
}  
}  
},  
"warm": {  
"actions": {  
"allocate": {  
"include": {},  
"exclude": {},  
"require": {  
"box\_type": "warm"  
}  
},  
"set\_priority": {  
"priority": 50  
}  
}  
},  
"delete": {  
"min\_age": "150d",  
"actions": {  
"delete": {  
"delete\_searchable\_snapshot": true  
}  
}  
}  
}  
}  
}

---

<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:** [May 10, 2021, 12:51am UTC](https://discuss.elastic.co/t/ilm-index-not-showing-in-cold-phase-and-delete-phase/272289/3 "2021-05-10T00:51:14Z")

</div>

The policy you defined only has hot, warm and delete. There's no cold that I can see.

---

<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:** [May 10, 2021, 12:51am UTC](https://discuss.elastic.co/t/ilm-index-not-showing-in-cold-phase-and-delete-phase/272289/4 "2021-05-10T00:51:55Z")

</div>

> [@neko](#):
>
> "max\_age": "1d",  
> "max\_size": "3gb"

Also that's pretty small. You might want to look at increasing the age and size to something a little larger to make sure you are using your cluster resources effectively.

---

<div class="post-metadata">

**Author:** ![neko](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@neko](https://discuss.elastic.co/u/neko)\
**Post date:** [June 1, 2021, 11:42am UTC](https://discuss.elastic.co/t/ilm-index-not-showing-in-cold-phase-and-delete-phase/272289/5 "2021-06-01T11:42:48Z")

</div>

Thanks. I added the missing node and It works fine now.

---

<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:** [June 29, 2021, 11:43am UTC](https://discuss.elastic.co/t/ilm-index-not-showing-in-cold-phase-and-delete-phase/272289/6 "2021-06-29T11:43:18Z")

</div>

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