# Bad dates in names after rolling with ILM

**URL:** https://discuss.elastic.co/t/bad-dates-in-names-after-rolling-with-ilm/267270
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [March 15, 2021, 1:32pm UTC](https://discuss.elastic.co/t/bad-dates-in-names-after-rolling-with-ilm/267270 "2021-03-15T13:32:01Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Jiri\_Petak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jiri_petak/32/69174_2.png) [@Jiri\_Petak](https://discuss.elastic.co/u/Jiri_Petak)
#### Post date: [March 16, 2021, 11:55am UTC](https://discuss.elastic.co/t/bad-dates-in-names-after-rolling-with-ilm/267270/2 "2021-03-16T11:55:30Z")

</div>

I have found that my index was created without date math, so in provided\_name was full index name with old date.

Found solution to fix that in: [https://discuss.elastic.co/t/date-in-index-name-doesnt-change-on-rollover-on-the-next-day/226701](https://discuss.elastic.co/t/date-in-index-name-doesnt-change-on-rollover-on-the-next-day/226701)

Sorry for creating new topic, but it was looking like some other problem because index creation was logstash job, not sure how that could happened.

---

_[View the full topic](https://discuss.elastic.co/t/bad-dates-in-names-after-rolling-with-ilm/267270)._
