# Dynamic mapping issue

**URL:** <https://discuss.elastic.co/t/dynamic-mapping-issue/294981>\
**Category:** Kibana\
**Created:** [January 20, 2022, 6:37pm UTC](https://discuss.elastic.co/t/dynamic-mapping-issue/294981 "2022-01-20T18:37:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [January 20, 2022, 6:37pm UTC](https://discuss.elastic.co/t/dynamic-mapping-issue/294981/1 "2022-01-20T18:37:17Z")

</div>

Hi I'm having indices being sent dynamically to my project.

When indices are being pushed , fields are mapped dynamically.  
Due to this mappings are different everytime.  
For example for 1 index , created date field is formatted as text and another it is formatted as date.

We cannot change mapping for existing fields.  
Is there a way to handle existing indices & also before pushing indices.  
And for dynamic mapping can we do this before pushing by mapping templates ?

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [January 21, 2022, 12:14am UTC](https://discuss.elastic.co/t/dynamic-mapping-issue/294981/2 "2022-01-21T00:14:32Z")

</div>

I think you had to use explicit mappings. From now what you can do is reindex the index or add multi field to the fields.

---

<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:** [February 18, 2022, 12:14am UTC](https://discuss.elastic.co/t/dynamic-mapping-issue/294981/3 "2022-02-18T00:14:34Z")

</div>

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