# Modify index naming in ILM

**URL:** <https://discuss.elastic.co/t/modify-index-naming-in-ilm/272451>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [May 7, 2021, 9:46pm UTC](https://discuss.elastic.co/t/modify-index-naming-in-ilm/272451 "2021-05-07T21:46:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![webfr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/webfr/32/87580_2.png) [@webfr](https://discuss.elastic.co/u/webfr)\
**Post date:** [May 7, 2021, 9:46pm UTC](https://discuss.elastic.co/t/modify-index-naming-in-ilm/272451/1 "2021-05-07T21:46:19Z")

</div>

Hello guys,  
Is it possible to modify index naming in clustered environnement when using Automatic rollover in ES / Kibaba (7.11.2), I used myindex-000001 on monthly basis/max size conditions and would prefer myindex-(yyyy-mm-dd)-000000x without bootstraping again or do I need to delete index? Thanks 🙂

> **[Tutorial: Automate rollover with ILM | Elasticsearch Guide \[7.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.11/getting-started-index-lifecycle-management.html)**

> **[Rollover index API | Elasticsearch Guide \[7.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.11/indices-rollover-index.html)**

---

<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:** [May 10, 2021, 12:31am UTC](https://discuss.elastic.co/t/modify-index-naming-in-ilm/272451/2 "2021-05-10T00:31:53Z")

</div>

We aren't all guys 🙂

ILM doesn't allow that. The date in the index is the time that the policy first created the index pattern.

---

<div class="post-metadata">

**Author:** ![webfr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/webfr/32/87580_2.png) [@webfr](https://discuss.elastic.co/u/webfr)\
**Post date:** [June 5, 2021, 2:27pm UTC](https://discuss.elastic.co/t/modify-index-naming-in-ilm/272451/3 "2021-06-05T14:27:45Z")

</div>

This worked fine! Thanks.

| | gpslogger-000002 | green | open | 1 | 1 | 4 | 13.4kb | |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| | gpslogger-000001 | green | open | 1 | 1 | 6052 | 1mb | |

---

<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:** [July 3, 2021, 2:27pm UTC](https://discuss.elastic.co/t/modify-index-naming-in-ilm/272451/4 "2021-07-03T14:27:57Z")

</div>

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