# ILM of index naming rule

**URL:** <https://discuss.elastic.co/t/ilm-of-index-naming-rule/169350>\
**Category:** Elasticsearch\
**Created:** [February 21, 2019, 8:48am UTC](https://discuss.elastic.co/t/ilm-of-index-naming-rule/169350 "2019-02-21T08:48:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Izek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/izek/32/37113_2.png) [@Izek](https://discuss.elastic.co/u/Izek)\
**Post date:** [February 21, 2019, 8:48am UTC](https://discuss.elastic.co/t/ilm-of-index-naming-rule/169350/1 "2019-02-21T08:48:54Z")

</div>

Hi folks,

Would it be possible to setup the shrink index name with prefix or suffix in ILM?  
for example:  
original name: metrics-2019.02.21  
shrink name: metrics-2019.02.21-shrink

---

<div class="post-metadata">

**Author:** ![gbrown](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gbrown/32/34482_2.png) [@gbrown](https://discuss.elastic.co/u/gbrown)\
**Post date:** [February 22, 2019, 5:56pm UTC](https://discuss.elastic.co/t/ilm-of-index-naming-rule/169350/2 "2019-02-22T17:56:23Z")

</div>

Hi, thank you for your interest in Elasticsearch, and for using ILM in particular!

Unfortunately, changing the prefix, or switching to a suffix, used by ILM for shrunken indices is not currently possible. If this is a feature you'd like us to add, could I ask you to [open an issue on the Elasticsearch GitHub repo](https://github.com/elastic/elasticsearch/issues/new)?

---

<div class="post-metadata">

**Author:** ![Izek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/izek/32/37113_2.png) [@Izek](https://discuss.elastic.co/u/Izek)\
**Post date:** [February 23, 2019, 2:04am UTC](https://discuss.elastic.co/t/ilm-of-index-naming-rule/169350/3 "2019-02-23T02:04:49Z")

</div>

Sure. will do it.  
The reason why I want this feature is that even though it is cold data.  
Sometimes ppl still want to look back for the metrics or log.  
But when you using another tool like grafana, you have to change the index name to read the old data.  
So in my opinion it would be great to have prefix or suffix.

---

<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:** [March 23, 2019, 2:05am UTC](https://discuss.elastic.co/t/ilm-of-index-naming-rule/169350/4 "2019-03-23T02:05:06Z")

</div>

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