# Index Lifecycle error and index size is huge

**URL:** <https://discuss.elastic.co/t/index-lifecycle-error-and-index-size-is-huge/241041>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [July 14, 2020, 12:58am UTC](https://discuss.elastic.co/t/index-lifecycle-error-and-index-size-is-huge/241041 "2020-07-14T00:58:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alankong](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@alankong](https://discuss.elastic.co/u/alankong)\
**Post date:** [July 14, 2020, 12:58am UTC](https://discuss.elastic.co/t/index-lifecycle-error-and-index-size-is-huge/241041/1 "2020-07-14T00:58:13Z")

</div>

### Index lifecycle management

Index lifecycle error

illegal\_argument\_exception: index.lifecycle.rollover\_alias [packetbeat-7.0.0-ilm-00000n] does not point to index [packetbeat-7.0.0-ilm]

I have been getting the above error.

Name of index: packetbeat-7.0.0-ilm

Extract from settings summary:  
"index.blocks.read\_only\_allow\_delete": "false",  
"index.priority": "1",  
"index.write.wait\_for\_active\_shards": "1",  
"index.lifecycle.name": "packetbeat-7.0.0",  
"index.lifecycle.rollover\_alias": "packetbeat-7.0.0-ilm-00000n",  
"index.mapping.total\_fields.limit": "10000",

Please advice what should I do now.

The file size is approaching 800GB since the file could not be recycle.

Thank you.

Regards  
Alan

---

<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:** [July 14, 2020, 3:40am UTC](https://discuss.elastic.co/t/index-lifecycle-error-and-index-size-is-huge/241041/2 "2020-07-14T03:40:48Z")

</div>

Welcome to our community! 😃

What does your ILM policy look like?

---

<div class="post-metadata">

**Author:** ![alankong](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@alankong](https://discuss.elastic.co/u/alankong)\
**Post date:** [July 14, 2020, 6:04am UTC](https://discuss.elastic.co/t/index-lifecycle-error-and-index-size-is-huge/241041/3 "2020-07-14T06:04:25Z")

</div>

My policy [packetbeat-7.0.0] looked like

{  
"policy": {  
"phases": {  
"hot": {  
"min\_age": "0ms",  
"actions": {  
"rollover": {  
"max\_age": "150d",  
"max\_size": "50gb"  
}  
}  
},  
"delete": {  
"min\_age": "150d",  
"actions": {  
"delete": {}  
}  
}  
}  
}  
}

---

<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:** [July 14, 2020, 6:05am UTC](https://discuss.elastic.co/t/index-lifecycle-error-and-index-size-is-huge/241041/4 "2020-07-14T06:05:17Z")

</div>

Is that it? It's missing all the alias and index section.

Please also format your code/logs/config using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

---

<div class="post-metadata">

**Author:** ![alankong](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@alankong](https://discuss.elastic.co/u/alankong)\
**Post date:** [July 14, 2020, 6:24am UTC](https://discuss.elastic.co/t/index-lifecycle-error-and-index-size-is-huge/241041/5 "2020-07-14T06:24:22Z")

</div>

Hi,  
I am new to ELK and following was extracted from my index file: packetbeat-7.0.0-ilm settings when I select "edit settings" on the index file

{  
"index.blocks.read\_only\_allow\_delete": "false",  
"index.priority": "1",  
"index.write.wait\_for\_active\_shards": "1",  
"index.lifecycle.name": "packetbeat-7.0.0",  
"index.lifecycle.rollover\_alias": "packetbeat-7.0.0-ilm-00000n",  
"index.mapping.total\_fields.limit": "10000",  
"index.refresh\_interval": "5s",  
"index.query.default\_field": [  
"message",  
"tags",  
"agent.ephemeral\_id",  
...  
.....}

---

<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:** [August 11, 2020, 6:24am UTC](https://discuss.elastic.co/t/index-lifecycle-error-and-index-size-is-huge/241041/6 "2020-08-11T06:24:24Z")

</div>

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