# Index doesn't rollover

**URL:** <https://discuss.elastic.co/t/index-doesnt-rollover/316837>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [October 18, 2022, 6:02am UTC](https://discuss.elastic.co/t/index-doesnt-rollover/316837 "2022-10-18T06:02:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hjazz6](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hjazz6/32/79007_2.png) [@hjazz6](https://discuss.elastic.co/u/hjazz6)\
**Post date:** [October 18, 2022, 6:02am UTC](https://discuss.elastic.co/t/index-doesnt-rollover/316837/1 "2022-10-18T06:02:38Z")

</div>

Hi,

My server restarted, so I restarted my Filebeat, ES and Kibana. Initially, filebeat was giving the error of `no write index is defined for alias [filebeat-7.14.0]`. So I resolved it by using the Update Index Aliases API (`POST _aliases`) to add the latest existing index `filebeat-7.14.0-2022.10.08-001234` with alias `filebeat-7.14.0`, and setting `is_write_index` to `True`. The data is now writing to this index.

However, I previously have an Index Life Cycle Policy (named `filebeat`) that enables rollover when max age is 30 days and max index size is 50GB. The index size before writing to it was already just over 50GB, and 8.5 days old. Now that I'm writing to it, the index isn't rolling over, and it is already 650GB. I changed the rollover action to just 50GB, but the index is still growing.

When I checked `GET <index name>/_ilm/explain`, I don't see any error (`managed: true`), and the policy name is correct (`filebeat`). When I checked Index Management on Kibana, the index is one of the 8 linked to the policy.

Why is the rollover not working?

---

<div class="post-metadata">

**Author:** ![hjazz6](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hjazz6/32/79007_2.png) [@hjazz6](https://discuss.elastic.co/u/hjazz6)\
**Post date:** [October 20, 2022, 5:55am UTC](https://discuss.elastic.co/t/index-doesnt-rollover/316837/2 "2022-10-20T05:55:15Z")

</div>

I restarted ES, kibana and filebeat, and deleted all existing indexes, and it's working now.

---

<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 17, 2022, 5:56am UTC](https://discuss.elastic.co/t/index-doesnt-rollover/316837/3 "2022-11-17T05:56:03Z")

</div>

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