# Rollover index at a particular time (UTC ) instead of index creation date

**URL:** https://discuss.elastic.co/t/rollover-index-at-a-particular-time-utc-instead-of-index-creation-date/281777
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [August 18, 2021, 7:04am UTC](https://discuss.elastic.co/t/rollover-index-at-a-particular-time-utc-instead-of-index-creation-date/281777 "2021-08-18T07:04:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Madhumitha\_Murali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/madhumitha_murali/32/77965_2.png) [@Madhumitha\_Murali](https://discuss.elastic.co/u/Madhumitha_Murali)
#### Post date: [August 18, 2021, 7:04am UTC](https://discuss.elastic.co/t/rollover-index-at-a-particular-time-utc-instead-of-index-creation-date/281777/1 "2021-08-18T07:04:50Z")

</div>

Hi All,  
Need your help with rollover index.  
I rollover index with conditions max\_age=1d and max\_size=50GB. The max\_age is calculated from the index creation time rather than the date field in the index name.  
Is there a way to rollover based on the date\_field in the index name?

---

<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: [August 18, 2021, 9:38pm UTC](https://discuss.elastic.co/t/rollover-index-at-a-particular-time-utc-instead-of-index-creation-date/281777/2 "2021-08-18T21:38:47Z")

</div>

Welcome to our community! 😃

> [@Madhumitha\_Murali](#):
>
> Is there a way to rollover based on the date\_field in the index name?

No there's not sorry. The date in the index name is based on the first run of the policy, so it doesn't change on rollover anyway.

---

<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: [September 15, 2021, 9:39pm UTC](https://discuss.elastic.co/t/rollover-index-at-a-particular-time-utc-instead-of-index-creation-date/281777/3 "2021-09-15T21:39:45Z")

</div>

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