# Index Lifecycle Policy Failures

**URL:** <https://discuss.elastic.co/t/index-lifecycle-policy-failures/253306>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [October 26, 2020, 12:39pm UTC](https://discuss.elastic.co/t/index-lifecycle-policy-failures/253306 "2020-10-26T12:39:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammad\_Etemad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammad_etemad/32/42444_2.png) [@Mohammad\_Etemad](https://discuss.elastic.co/u/Mohammad_Etemad)\
**Post date:** [October 26, 2020, 12:39pm UTC](https://discuss.elastic.co/t/index-lifecycle-policy-failures/253306/1 "2020-10-26T12:39:24Z")

</div>

Hello,

I am using Elasticsearch version 7.4 and have configured rollover policies for my indices. Every now and then on some indices (by random) I get some failures on rollover. The errors include:

`illegal_argument_exception: index [auditbeat-7.8.0-2020.09.29-000001] is not the write index for alias [auditbeat-7.8.0]`

`index_closed_exception: closed`

```auto
{"auditbeat":{"version":2,"modified_date":"2020-09-29T21:30:35.073Z","policy":{"phases":{"warm":{"min_age":"0ms","actions":{"allocate":{"number_of_replicas":1,"include":{},"exclude":{},"require":{}},"shrink":{"number_of_shards":1},"forcemerge":{"max_num_segments":1}}},"cold":{"min_age":"1d","actions":{"freeze":{}}},"hot":{"min_age":"0ms","actions":{"rollover":{"max_age":"1d"}}},"delete":{"min_age":"2d","actions":{"delete":{}}}}}}}

```

Any ideas why this is happening and how to fix this?

Thanks

---

<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:** [November 23, 2020, 12:39pm UTC](https://discuss.elastic.co/t/index-lifecycle-policy-failures/253306/2 "2020-11-23T12:39:25Z")

</div>

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