# Is it possible to disable date\_detection only for certain fields?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-disable-date-detection-only-for-certain-fields/173331>\
**Category:** Elasticsearch\
**Created:** [March 21, 2019, 2:40pm UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-date-detection-only-for-certain-fields/173331 "2019-03-21T14:40:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gitstash](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gitstash](https://discuss.elastic.co/u/gitstash)\
**Post date:** [March 21, 2019, 2:40pm UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-date-detection-only-for-certain-fields/173331/1 "2019-03-21T14:40:55Z")

</div>

Hi all,

I would like to have date\_detection enabled for most fields, but for some certain fields I want to disable it. I tried dynamic\_templates but it doesn't work. Does anyone know how to do it or have some workaround for it? Thank you.

Gordon

---

<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 18, 2019, 2:40pm UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-date-detection-only-for-certain-fields/173331/2 "2019-04-18T14:40:56Z")

</div>

Closed on April 18, 2019, 2:40pm UTC

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