# \_template vs \_index\_template

**URL:** <https://discuss.elastic.co/t/template-vs-index-template/339969>\
**Category:** Elasticsearch\
**Created:** [August 2, 2023, 7:13pm UTC](https://discuss.elastic.co/t/template-vs-index-template/339969 "2023-08-02T19:13:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![linkerc](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@linkerc](https://discuss.elastic.co/u/linkerc)\
**Post date:** [August 2, 2023, 7:13pm UTC](https://discuss.elastic.co/t/template-vs-index-template/339969/1 "2023-08-02T19:13:16Z")

</div>

I'm running ES 7.15.  
\_template seems to be legacy. \_index\_template is the one moving forward.  
I also noticed that there's no command to list all \_index\_templates.

Is there a template migration guide somewhere?

---

<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:** [August 30, 2023, 7:13pm UTC](https://discuss.elastic.co/t/template-vs-index-template/339969/2 "2023-08-30T19:13:27Z")

</div>

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