# How force to move to Warm phase

**URL:** https://discuss.elastic.co/t/how-force-to-move-to-warm-phase/258685
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [December 15, 2020, 9:08am UTC](https://discuss.elastic.co/t/how-force-to-move-to-warm-phase/258685 "2020-12-15T09:08:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Anabella\_Cristaldi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anabella_cristaldi/32/23612_2.png) [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)
#### Post date: [December 15, 2020, 9:08am UTC](https://discuss.elastic.co/t/how-force-to-move-to-warm-phase/258685/1 "2020-12-15T09:08:01Z")

</div>

Hi,  
I have an index in a hot phase, which was completed  
After n days from roll over the index will enter the warm phase and it will be relocated to the warm node.  
Is it possible to force the index to move to the warm phase?  
Thank you!  
Regards  
Ana

Here is my ILM policy

```
PUT _ilm/policy/fortilogs
{
  "policy": {
    "phases": {
      "hot": {
        "min_age": "0ms",
        "actions": {
          "rollover": {
            "max_size": "49gb",
            "max_age": "9d"
          },
          "set_priority": {
            "priority": 100
          }
        }
      },
      "warm": {
        "min_age": "15d",
        "actions": {
          "allocate": {
            "include": {},
            "exclude": {},
            "require": {
              "data": "warm"
            }
          },
          "readonly": {}
        }
      }
    }
  }
}
```

---

<div class="post-metadata">

### Author: ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)
#### Post date: [December 15, 2020, 9:13am UTC](https://discuss.elastic.co/t/how-force-to-move-to-warm-phase/258685/2 "2020-12-15T09:13:54Z")

</div>

Hope this [link](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/ilm-move-to-step.html) can help

---

<div class="post-metadata">

### Author: ![Anabella\_Cristaldi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anabella_cristaldi/32/23612_2.png) [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)
#### Post date: [December 15, 2020, 9:21am UTC](https://discuss.elastic.co/t/how-force-to-move-to-warm-phase/258685/3 "2020-12-15T09:21:56Z")

</div>

Thank you!  
I've read the article previous to post the topic but It was not working for me.  
I've tried

```
POST _ilm/move/my_index
{
    "current_step": { 
    "phase": "hot",
    "action": "complete",
    "name": "complete"
  },
  "next_step": { 
    "phase": "warm",
    "action": "allocate",
    "name": "allocate"
  }
}

```

and It worked

Regards!  
Ana

---

<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 12, 2021, 9:22am UTC](https://discuss.elastic.co/t/how-force-to-move-to-warm-phase/258685/4 "2021-01-12T09:22:06Z")

</div>

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