# ILM created incorrect index name

**URL:** <https://discuss.elastic.co/t/ilm-created-incorrect-index-name/372877>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [January 7, 2025, 5:32am UTC](https://discuss.elastic.co/t/ilm-created-incorrect-index-name/372877 "2025-01-07T05:32:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naveen\_S1](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@Naveen\_S1](https://discuss.elastic.co/u/Naveen_S1)\
**Post date:** [January 7, 2025, 5:32am UTC](https://discuss.elastic.co/t/ilm-created-incorrect-index-name/372877/1 "2025-01-07T05:32:26Z")

</div>

I have an ILM policy that creates a new index once the index reaches 250GB. With the incoming data, the current trend is 1 index / 1 day. I have started indexing 2 months before. I have started the initial index with the format "%3Cms-%7Bnow%2Fd%7BYYYY-MM-dd%7D%7D-000001%3E" **\<ms-{now/d{YYYY-MM-dd}}-000001\>**

The name of the indices was fine until 31st Dec 2024. The name of the index expected is **ms-2024-12-31-000067**. But the index is created with the name **ms-2025-12-31-000067**. Instead of the year 2024, the name contains 2025.

Some discuss topics mentioned that it could be due to zone differences. But if it was that case, then it should be either 2024-12-31 or 2025-01-01.  
What am I missing here?
