# Index lifecycle error - '^.\*-\\d+$'

**URL:** <https://discuss.elastic.co/t/index-lifecycle-error-d/238515>\
**Category:** Kibana\
**Tags:** ilm-index-lifecycle-management\
**Created:** [June 24, 2020, 3:06pm UTC](https://discuss.elastic.co/t/index-lifecycle-error-d/238515 "2020-06-24T15:06:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jasperdb5](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jasperdb5](https://discuss.elastic.co/u/Jasperdb5)\
**Post date:** [June 24, 2020, 3:06pm UTC](https://discuss.elastic.co/t/index-lifecycle-error-d/238515/1 "2020-06-24T15:06:05Z")

</div>

Hi there,

My Index-Lifecycle management functionality is not working as I would expect.

The ILM is trying to roll-over the following indexes, but I'm getting the following error.  
illegal\_argument\_exception: index name [metricbeat-7.3.1] does not match pattern '^.\*-\d+' AND illegal\_argument\_exception: index name [mon\_servicelog-2020.06] does not match pattern '^.\*-\d+'

I already found some documentation explaining that the index needs to end in an incrementable number, but is there a way around this, by for example changing the pattern in the backend ?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [June 24, 2020, 3:28pm UTC](https://discuss.elastic.co/t/index-lifecycle-error-d/238515/2 "2020-06-24T15:28:45Z")

</div>

Do you have an existing ILM setup or are you starting from scratch?

---

<div class="post-metadata">

**Author:** ![Jasperdb5](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jasperdb5](https://discuss.elastic.co/u/Jasperdb5)\
**Post date:** [June 24, 2020, 3:48pm UTC](https://discuss.elastic.co/t/index-lifecycle-error-d/238515/3 "2020-06-24T15:48:50Z")

</div>

Hi, we already have an existing ILM (with 7 different policies).

---

<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 22, 2020, 3:48pm UTC](https://discuss.elastic.co/t/index-lifecycle-error-d/238515/4 "2020-07-22T15:48:52Z")

</div>

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