# Configuration on the index template for strict mapping

**URL:** <https://discuss.elastic.co/t/configuration-on-the-index-template-for-strict-mapping/168242>\
**Category:** Elasticsearch\
**Created:** [February 13, 2019, 2:42pm UTC](https://discuss.elastic.co/t/configuration-on-the-index-template-for-strict-mapping/168242 "2019-02-13T14:42:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkaramol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaramol/32/22610_2.png) [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Post date:** [February 13, 2019, 2:42pm UTC](https://discuss.elastic.co/t/configuration-on-the-index-template-for-strict-mapping/168242/1 "2019-02-13T14:42:41Z")

</div>

This might be easy, but I was unable to find a relevant concrete example.

In an index template, where should the `dynamic: strict` should be set so that strict mapping is enforced?

Any examples?

---

<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:** [March 13, 2019, 2:42pm UTC](https://discuss.elastic.co/t/configuration-on-the-index-template-for-strict-mapping/168242/2 "2019-03-13T14:42:43Z")

</div>

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