# ES 7.11.2 / Kibana error : index has lifecycle error

**URL:** <https://discuss.elastic.co/t/es-7-11-2-kibana-error-index-has-lifecycle-error/272098>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [May 4, 2021, 5:29pm UTC](https://discuss.elastic.co/t/es-7-11-2-kibana-error-index-has-lifecycle-error/272098 "2021-05-04T17:29:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![webfr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/webfr/32/87580_2.png) [@webfr](https://discuss.elastic.co/u/webfr)\
**Post date:** [May 4, 2021, 5:29pm UTC](https://discuss.elastic.co/t/es-7-11-2-kibana-error-index-has-lifecycle-error/272098/1 "2021-05-04T17:29:19Z")

</div>

Hello guys,  
could you help me please fixing this issue?

Index lifecycle error  
illegal\_argument\_exception: setting [index.lifecycle.rollover\_alias] for index [myindex] is empty or not defined

 ![Capture1](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3c4a0d4a86b814cb173133570de2f9cadfd63388.png)

index setting:

{  
"index.blocks.read\_only\_allow\_delete": "false",  
"index.query.default\_field": [  
"\*"  
],  
"index.refresh\_interval": "1s",  
"index.write.wait\_for\_active\_shards": "1",  
"index.lifecycle.name": "myindex",  
"index.routing.allocation.include.\_tier\_preference": "data\_content",  
"index.priority": "100",  
"index.number\_of\_replicas": "1"  
}

index lifecycle policy (show request):  
PUT \_ilm/policy/myindex  
{  
"policy": {  
"phases": {  
"hot": {  
"min\_age": "0ms",  
"actions": {  
"rollover": {  
"max\_size": "5gb",  
"max\_age": "365d"  
},  
"set\_priority": {  
"priority": 100  
}  
}  
}  
}  
}  
}

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![webfr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/webfr/32/87580_2.png) [@webfr](https://discuss.elastic.co/u/webfr)\
**Post date:** [May 4, 2021, 10:46pm UTC](https://discuss.elastic.co/t/es-7-11-2-kibana-error-index-has-lifecycle-error/272098/2 "2021-05-04T22:46:44Z")

</div>

Update : understood this should be applied to new index so I restarted from scratch using [Tutorial: Automate rollover with ILM | Elasticsearch Guide [7.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.11/getting-started-index-lifecycle-management.html)  
Let's see...

---

<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 1, 2021, 10:47pm UTC](https://discuss.elastic.co/t/es-7-11-2-kibana-error-index-has-lifecycle-error/272098/3 "2021-06-01T22:47:42Z")

</div>

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