# Moving indices back to ilm hot phase

**URL:** <https://discuss.elastic.co/t/moving-indices-back-to-ilm-hot-phase/271413>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [April 27, 2021, 4:39pm UTC](https://discuss.elastic.co/t/moving-indices-back-to-ilm-hot-phase/271413 "2021-04-27T16:39:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![liorg2](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@liorg2](https://discuss.elastic.co/u/liorg2)\
**Post date:** [April 27, 2021, 4:39pm UTC](https://discuss.elastic.co/t/moving-indices-back-to-ilm-hot-phase/271413/1 "2021-04-27T16:39:57Z")

</div>

Hello,

Is it possible to change the rules of ilm , so that indices will get back to hot node?

For example, the original configuration was "move to warm storage after 5 days" , and we want to change it to 90 days.

Ideally after 90 days, the will move to warm nodes again.

I know I can change this setting, but I'm not sure what will happen after 90 days. Probably its not enough

index.routing.allocation.include.\_tier\_preference

Or maybe its better to remove using ilm/remove and apply a new policy?

> **[Configure a lifecycle policy | Elasticsearch Guide \[7.12\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/set-up-lifecycle-policy.html#apply-policy-multiple)**

Thanks

---

<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:** [April 28, 2021, 1:16am UTC](https://discuss.elastic.co/t/moving-indices-back-to-ilm-hot-phase/271413/2 "2021-04-28T01:16:19Z")

</div>

The [migrate phase](https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-migrate.html) only allows moving to warm or cold, so nope.

Interesting idea though, it might be worth raising a feature request on GitHub so we can gauge interest?

---

<div class="post-metadata">

**Author:** ![liorg2](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@liorg2](https://discuss.elastic.co/u/liorg2)\
**Post date:** [April 28, 2021, 7:26pm UTC](https://discuss.elastic.co/t/moving-indices-back-to-ilm-hot-phase/271413/3 "2021-04-28T19:26:51Z")

</div>

Thanks for the quick reply @warkolm , will do that.

So for achieving that, I'll have to remove the ilm, update the tier in the index setting to data\_hot, and re-apply the ilm in the settings?

---

<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:** [April 28, 2021, 11:31pm UTC](https://discuss.elastic.co/t/moving-indices-back-to-ilm-hot-phase/271413/4 "2021-04-28T23:31:46Z")

</div>

It'd be a "manual" process (in that it's API but not ILM), yes.

---

<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:** [May 26, 2021, 11:32pm UTC](https://discuss.elastic.co/t/moving-indices-back-to-ilm-hot-phase/271413/5 "2021-05-26T23:32:06Z")

</div>

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