# How do rollover up index everyday on index lifeincycle

**URL:** <https://discuss.elastic.co/t/how-do-rollover-up-index-everyday-on-index-lifeincycle/348863>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [December 8, 2023, 7:50am UTC](https://discuss.elastic.co/t/how-do-rollover-up-index-everyday-on-index-lifeincycle/348863 "2023-12-08T07:50:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanhaiit90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vanhaiit90/32/119189_2.png) [@vanhaiit90](https://discuss.elastic.co/u/vanhaiit90)\
**Post date:** [December 8, 2023, 7:50am UTC](https://discuss.elastic.co/t/how-do-rollover-up-index-everyday-on-index-lifeincycle/348863/1 "2023-12-08T07:50:20Z")

</div>

Hi everyone!

I have an elasticsearch index that needs to be rolled over every day, but after I configured it and observed the policy, it doesn't seem to work  
And Details are in the following picture:

 ![ảnh](https://us1.discourse-cdn.com/elastic/original/3X/e/e/eea9be281e0ecd95c1d05cd84126619744915c1f.png)

 ![ảnh](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b6bed55cc347ce8db7489ebaea8cac651a7638de.png)

The problem is I want it to rolloverup index every day. Example:  
.ds-logs-haproxy.log-app.xxx.loadbalance.nginx\_haproxy\_access\_log-2023.11.20-xxx  
.ds-logs-haproxy.log-app.xxx.loadbalance.nginx\_haproxy\_access\_log-2023.11.21-xxx  
.ds-logs-haproxy.log-app.xxx.loadbalance.nginx\_haproxy\_access\_log-2023.11.22-xxx

Please quickly help me resolved, thank everyone very much

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [December 8, 2023, 1:27pm UTC](https://discuss.elastic.co/t/how-do-rollover-up-index-everyday-on-index-lifeincycle/348863/2 "2023-12-08T13:27:14Z")

</div>

> [@vanhaiit90](#):
>
> The problem is I want it to rolloverup index every day.

Can you provide a little more context on why you need that?

This can be pretty inneficient, also the policy you shared is even worst,it will rollover when your index reach 50 GB OR 1 day has passed since the creation OR it has more than 10 docs, which is too low.

But even with those configurations, it should rollover because it has a maximum age of 1 day.

Can you run `GET <index_name>/_ilm/explain` on one of the backing indices that you think that should've rollover already to see what happened?

---

<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:** [January 5, 2024, 1:27pm UTC](https://discuss.elastic.co/t/how-do-rollover-up-index-everyday-on-index-lifeincycle/348863/3 "2024-01-05T13:27:28Z")

</div>

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