# How to find which template indice is created with?

**URL:** https://discuss.elastic.co/t/how-to-find-which-template-indice-is-created-with/122802
**Category:** Elasticsearch
**Created:** [March 7, 2018, 1:30am UTC](https://discuss.elastic.co/t/how-to-find-which-template-indice-is-created-with/122802 "2018-03-07T01:30:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Karthik\_Ramachandran](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)
#### Post date: [March 7, 2018, 1:30am UTC](https://discuss.elastic.co/t/how-to-find-which-template-indice-is-created-with/122802/1 "2018-03-07T01:30:06Z")

</div>

I'm trying to find a way to identify which version/template an indice is applied with during creation.

We can look at the template itself and look for index\_patterns, but what if the template is deleted or template is modified with changes to mapping. A new indice would get created with changes, but not any existing one's.

There are ways to explicitly find using date (in indice names if applied) or externally, but it would be easy if the same is identified using any property in the indice itself.

We can add \_meta to template though, but doesn't help in the use case.

Any advice on this is helpful (or) is a new capability?

NOTE: There are threads on default value to indice data via mapping, which is addressed using ingest node/set processor. But this is not the case here.

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [March 7, 2018, 6:53am UTC](https://discuss.elastic.co/t/how-to-find-which-template-indice-is-created-with/122802/2 "2018-03-07T06:53:36Z")

</div>

> [@Karthik\_Ramachandran](#):
>
> A new indice would get created with changes, but not any existing one's.

as i know close it and change the setting about indices and open again can change it.

---

<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 4, 2018, 6:54am UTC](https://discuss.elastic.co/t/how-to-find-which-template-indice-is-created-with/122802/3 "2018-04-04T06:54:09Z")

</div>

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