# To Know about Legacy Index Template

**URL:** <https://discuss.elastic.co/t/to-know-about-legacy-index-template/327180>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [March 7, 2023, 1:30pm UTC](https://discuss.elastic.co/t/to-know-about-legacy-index-template/327180 "2023-03-07T13:30:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anushyaadam](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@anushyaadam](https://discuss.elastic.co/u/anushyaadam)\
**Post date:** [March 7, 2023, 1:30pm UTC](https://discuss.elastic.co/t/to-know-about-legacy-index-template/327180/1 "2023-03-07T13:30:31Z")

</div>

Hi Team,

We changed the ILM of one of the index from 10days to 7days, but we can see the Legacy index templates still showing ILM as 10days.

If present ILM of 7days doesn't work, will it consider the older ILM of 10days for legacy templates ?

We also have couples of things to ask,

1. What is the difference between the Legacy Index templates and Index templates?
2. Do we need to delete the Legacy index template before we run the new template?

Regards  
Anushya

---

<div class="post-metadata">

**Author:** ![anushyaadam](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@anushyaadam](https://discuss.elastic.co/u/anushyaadam)\
**Post date:** [March 13, 2023, 11:17am UTC](https://discuss.elastic.co/t/to-know-about-legacy-index-template/327180/2 "2023-03-13T11:17:35Z")

</div>

Hi Team,

Could you please update on this.

Regards  
Anushya

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [March 13, 2023, 1:06pm UTC](https://discuss.elastic.co/t/to-know-about-legacy-index-template/327180/3 "2023-03-13T13:06:39Z")

</div>

Can you provide more context? It is not clear what you did and what is the issue.

> [@anushyaadam](#):
>
> We changed the ILM of one of the index from 10days to 7days, but we can see the Legacy index templates still showing ILM as 10days.

This is not clear. What you changed? What does your template looks like?

---

<div class="post-metadata">

**Author:** ![anushyaadam](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@anushyaadam](https://discuss.elastic.co/u/anushyaadam)\
**Post date:** [March 21, 2023, 3:25pm UTC](https://discuss.elastic.co/t/to-know-about-legacy-index-template/327180/4 "2023-03-21T15:25:06Z")

</div>

Hi Leandrojmp,

We changed the ILM of one index from 10 to 7 days, but the legacy index still displays the former ILM policy's 10 day period. Do the Legacy index and the Index Template have any connections?

Regards  
Anushya

---

<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:** [April 18, 2023, 3:25pm UTC](https://discuss.elastic.co/t/to-know-about-legacy-index-template/327180/5 "2023-04-18T15:25:37Z")

</div>

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