# Can't find where dynamic\_templates is being set

**URL:** <https://discuss.elastic.co/t/cant-find-where-dynamic-templates-is-being-set/26998>\
**Category:** Elasticsearch\
**Created:** [August 6, 2015, 6:15pm UTC](https://discuss.elastic.co/t/cant-find-where-dynamic-templates-is-being-set/26998 "2015-08-06T18:15:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![theologian](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@theologian](https://discuss.elastic.co/u/theologian)\
**Post date:** [August 6, 2015, 6:15pm UTC](https://discuss.elastic.co/t/cant-find-where-dynamic-templates-is-being-set/26998/1 "2015-08-06T18:15:46Z")

</div>

Hi,

I'm getting errors in our logs due to miss matched mapping. When I run this....

curl -XGET '[http://127.0.0.1:9200/name-2015.08.05/\_mapping](http://127.0.0.1:9200/name-2015.08.05/_mapping)'

I see two dynamic\_templates, but I don't know where the second one is being set. The first one is in \_template. Can someone tell where else to look?

Thanks!

Theo

---

<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:** [August 7, 2015, 10:46am UTC](https://discuss.elastic.co/t/cant-find-where-dynamic-templates-is-being-set/26998/2 "2015-08-07T10:46:02Z")

</div>

It could be a file based template?

---

<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:** [July 5, 2017, 11:56pm UTC](https://discuss.elastic.co/t/cant-find-where-dynamic-templates-is-being-set/26998/3 "2017-07-05T23:56:48Z")

</div>


