# ILM error on index name

**URL:** <https://discuss.elastic.co/t/ilm-error-on-index-name/196276>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [August 22, 2019, 8:52am UTC](https://discuss.elastic.co/t/ilm-error-on-index-name/196276 "2019-08-22T08:52:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jof300](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jof300](https://discuss.elastic.co/u/jof300)\
**Post date:** [August 22, 2019, 8:52am UTC](https://discuss.elastic.co/t/ilm-error-on-index-name/196276/1 "2019-08-22T08:52:15Z")

</div>

Hi,

I am trying to implement ILM for my indexes.

Some context :  
Architecture of the solution is:

logstash (shipper) or beats ==\> kafka ==\> logstash (indexer) ==\> elasticsearch \<== kibana

Index seggregation is done by team, as we are using beats , index would be journalbeat-xxxx

We are pushing config via Terraform and Puppet.

Here is the error I got :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/3/d3fbe37e97280c91a40ee25d20c7fba108e12425.png)

logstash\_config :  
....  
manage\_template =\> false  
index =\> "journalbeat\_%{team}"  
ilm\_enabled =\> true  
ilm\_pattern =\> "00001"  
...

Something I am missing ?

Regards

---

<div class="post-metadata">

**Author:** ![jof300](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jof300](https://discuss.elastic.co/u/jof300)\
**Post date:** [August 23, 2019, 9:30am UTC](https://discuss.elastic.co/t/ilm-error-on-index-name/196276/2 "2019-08-23T09:30:12Z")

</div>

Now I get another error :  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/3/4376da897ddc625d643512d593fdbc45bf0a23d3.png)

Steps I did :

edit template with this :  
"index\_patterns": [  
"journalbeat\_cicd-\*"  
],

create index with write alias :  
PUT journalbeat\_cicd-000001  
{  
"aliases": {  
"journalbeat\_cicd": {  
"is\_write\_index": true  
}

logstash config :  
....  
manage\_template =\> false  
index =\> "journalbeat\_%{team}"  
ilm\_enabled =\> true  
ilm\_pattern =\> "000001"  
....

It created index journalbeat\_cicd but doesn't match journalbeat\_cicd-000001.

Any idea why ?

Regards

---

<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 20, 2019, 9:30am UTC](https://discuss.elastic.co/t/ilm-error-on-index-name/196276/3 "2019-09-20T09:30:16Z")

</div>

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