# What are the built-in index templates for log-\* & metrics-\* indices?

**URL:** <https://discuss.elastic.co/t/what-are-the-built-in-index-templates-for-log-metrics-indices/277766>\
**Category:** Elasticsearch\
**Created:** [July 5, 2021, 5:45am UTC](https://discuss.elastic.co/t/what-are-the-built-in-index-templates-for-log-metrics-indices/277766 "2021-07-05T05:45:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivani\_aggarwal](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@shivani\_aggarwal](https://discuss.elastic.co/u/shivani_aggarwal)\
**Post date:** [July 5, 2021, 5:45am UTC](https://discuss.elastic.co/t/what-are-the-built-in-index-templates-for-log-metrics-indices/277766/1 "2021-07-05T05:45:17Z")

</div>

Hi,

I use **elasticsearch-oss:7.8.0** and planning to upgrade to v7.10.2.  
Going through the breaking changes in newer versions, found that in 7.9, elasticsearch added built-in index templates for the `metrics-*-*` and `logs-*-*` index patterns (Ref - [Breaking changes in 7.9 | Elasticsearch Guide [7.9] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/breaking-changes-7.9.html))

- Are these built-in templates added for the -oss distribution as well?
- If yes, what are the exact definitions of these built-in templates (i.e. mappings,settings etc) for log\* and metrics\* indices?  
I was not able to find the template definitions in the docs either.

Tried installing a 7.10 setup and ran below queries to fetch existing index tempates, both queries resulted in empty response:

```auto
GET /_template/_all
GET /_index_template

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 5, 2021, 5:53am UTC](https://discuss.elastic.co/t/what-are-the-built-in-index-templates-for-log-metrics-indices/277766/2 "2021-07-05T05:53:46Z")

</div>

That would be part of our Basic distribution, so I don't think that'd show up in the OSS distro.

---

<div class="post-metadata">

**Author:** ![shivani\_aggarwal](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@shivani\_aggarwal](https://discuss.elastic.co/u/shivani_aggarwal)\
**Post date:** [July 5, 2021, 5:58am UTC](https://discuss.elastic.co/t/what-are-the-built-in-index-templates-for-log-metrics-indices/277766/3 "2021-07-05T05:58:55Z")

</div>

All right. Thanks for the info and the quick response! 👍

Although it would be great if the breaking changes doc had some way of segregating/labelling changes related to oss and non-oss.

---

<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 2, 2021, 5:58am UTC](https://discuss.elastic.co/t/what-are-the-built-in-index-templates-for-log-metrics-indices/277766/4 "2021-08-02T05:58:59Z")

</div>

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