# Updating the Mapping of an existing Index

**URL:** https://discuss.elastic.co/t/updating-the-mapping-of-an-existing-index/196275
**Category:** Kibana
**Created:** [August 22, 2019, 8:47am UTC](https://discuss.elastic.co/t/updating-the-mapping-of-an-existing-index/196275 "2019-08-22T08:47:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ramya\_Tanikanti](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@Ramya\_Tanikanti](https://discuss.elastic.co/u/Ramya_Tanikanti)
#### Post date: [August 22, 2019, 8:47am UTC](https://discuss.elastic.co/t/updating-the-mapping-of-an-existing-index/196275/1 "2019-08-22T08:47:01Z")

</div>

I have uploaded a CSV file via logstash into elasticsearch. I did not set the date field in the Logstash config file. Is there a way to change the string-type to date-type in Kibana? Kindly help.

---

<div class="post-metadata">

### Author: ![wangqinghuan](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wangqinghuan](https://discuss.elastic.co/u/wangqinghuan)
#### Post date: [August 22, 2019, 9:45am UTC](https://discuss.elastic.co/t/updating-the-mapping-of-an-existing-index/196275/2 "2019-08-22T09:45:45Z")

</div>

You cannot update the mapping of existing fields. Delete existing indices and upload file into elasticsearch again.

---

<div class="post-metadata">

### Author: ![Ramya\_Tanikanti](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@Ramya\_Tanikanti](https://discuss.elastic.co/u/Ramya_Tanikanti)
#### Post date: [August 22, 2019, 10:55am UTC](https://discuss.elastic.co/t/updating-the-mapping-of-an-existing-index/196275/3 "2019-08-22T10:55:07Z")

</div>

Thank You : )

---

<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: [September 19, 2019, 10:55am UTC](https://discuss.elastic.co/t/updating-the-mapping-of-an-existing-index/196275/4 "2019-09-19T10:55:08Z")

</div>

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