# ILM phase completed

**URL:** <https://discuss.elastic.co/t/ilm-phase-completed/174718>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [April 1, 2019, 6:44am UTC](https://discuss.elastic.co/t/ilm-phase-completed/174718 "2019-04-01T06:44:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/valker/32/43179_2.png) [@Valker](https://discuss.elastic.co/u/Valker)\
**Post date:** [April 1, 2019, 6:44am UTC](https://discuss.elastic.co/t/ilm-phase-completed/174718/1 "2019-04-01T06:44:27Z")

</div>

Hello,

I have one question regarding Index Lifecycle Managment.  
My lifecycle policy looks like this:

> **Policy Details**
>
> ```auto
> {
> "policy": {
> "phases": {
> "hot": {
> "min_age": "0ms",
> "actions": {
> "rollover": {
> "max_age": "1d"
> },
> "set_priority": {
> "priority": 100
> }
> }
> },
> "warm": {
> "min_age": "0ms",
> "actions": {
> "allocate": {
> "number_of_replicas": 0,
> "include": {},
> "exclude": {},
> "require": {
> "box_type": "warm"
> }
> },
> "forcemerge": {
> "max_num_segments": 1
> },
> "set_priority": {
> "priority": 50
> }
> }
> },
> "cold": {
> "min_age": "1d",
> "actions": {
> "allocate": {
> "number_of_replicas": 0,
> "include": {},
> "exclude": {},
> "require": {
> "box_type": "cold"
> }
> },
> "set_priority": {
> "priority": 0
> }
> }
> }
> }
> }
> }
> ```

Everything seems to be working properly, however last phase - cold - is called 'completed'.  
Response from the Explain policy request:

```auto
{
	"indices": {
		"shrink-interceptor-logs-dev-2019.03.29-000001": {
			"index": "shrink-interceptor-logs-dev-2019.03.29-000001",
			"managed": true,
			"policy": "interceptor-logs-policy",
			"lifecycle_date_millis": 1553949278516,
--> "phase": "completed",
			"phase_time_millis": 1554035708556,
			"action": "completed",
			"action_time_millis": 1554035708556,
			"step": "completed",
			"step_time_millis": 1554035708556,
			"phase_execution": {
				"policy": "interceptor-logs-policy",
				"version": 2,
				"modified_date_in_millis": 1553870419803
			}
		}
	}
}
```

My question: is it working as it should be?  
I didnt find anything about differend name of the cold phase in the documentation.  
It is not big deal, however index managment view in the Kibana is not working properly in that case: it is not possible to filter out indicies only in the cold phase.

 ![Przechwytywanie](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d366a02ee2000f0c444e99759d9c9ddead46438.png)

 ![Przechwytywanie2](https://us1.discourse-cdn.com/elastic/original/3X/4/3/438ec12bad3ef031524ee0999d07301b3e9be9ce.png)

---

<div class="post-metadata">

**Author:** ![dakrone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dakrone/32/23351_2.png) [@dakrone](https://discuss.elastic.co/u/dakrone)\
**Post date:** [April 1, 2019, 4:07pm UTC](https://discuss.elastic.co/t/ilm-phase-completed/174718/2 "2019-04-01T16:07:36Z")

</div>

Hi Valker,

Yep, everything appears to be working correctly. When ILM finishes running through all the operations it moves to the `completed` phase, which is what your index is currently in. That means all actions have been taken and ILM won't be doing anything any more.

---

<div class="post-metadata">

**Author:** ![Valker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/valker/32/43179_2.png) [@Valker](https://discuss.elastic.co/u/Valker)\
**Post date:** [April 1, 2019, 5:10pm UTC](https://discuss.elastic.co/t/ilm-phase-completed/174718/3 "2019-04-01T17:10:49Z")

</div>

Thank you for the reply, Lee.

In that case maybe there should be another value in the "Lifecycle phase" filter - completed.  
Also i would be nice to have small notice about this in the documentation 🙂

---

<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:** [April 29, 2019, 5:10pm UTC](https://discuss.elastic.co/t/ilm-phase-completed/174718/4 "2019-04-29T17:10:55Z")

</div>

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