# ILM run after a change

**URL:** https://discuss.elastic.co/t/ilm-run-after-a-change/239576
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [July 2, 2020, 6:50am UTC](https://discuss.elastic.co/t/ilm-run-after-a-change/239576 "2020-07-02T06:50:32Z")
**Posts on this page:** 2
**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: [July 2, 2020, 6:50am UTC](https://discuss.elastic.co/t/ilm-run-after-a-change/239576/1 "2020-07-02T06:50:32Z")

</div>

hello,

I have changed the ILM policy, and added a warm/cold phases after 30 days.  
is there a way to run it over all current indices, so they will be moved to warm/cold storage?

for example for this one:

`GET data-8-000001/_ilm/explain`

```
{
  "indices" : {
    "data-8-000001" : {
      "index" : "data-8-000001",
      "managed" : true,
      "policy" : "perfmon-lifecycle-policy",
      "lifecycle_date_millis" : 1584637775052,
      "age" : "104.56d",
      "phase" : "completed",
      "phase_time_millis" : 1584637775915,
      "action" : "completed",
      "action_time_millis" : 1584637775915,
      "step" : "completed",
      "step_time_millis" : 1584637775915,
      "phase_execution" : {
        "policy" : "perfmon-lifecycle-policy",
        "version" : 6,
        "modified_date_in_millis" : 1583332760709
      }
    }
  }
}
```

---

<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: [July 30, 2020, 6:54am UTC](https://discuss.elastic.co/t/ilm-run-after-a-change/239576/2 "2020-07-30T06:54:28Z")

</div>

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