# How to change the data type of my index pattern?

**URL:** <https://discuss.elastic.co/t/how-to-change-the-data-type-of-my-index-pattern/234218>\
**Category:** Kibana\
**Created:** [May 25, 2020, 10:59pm UTC](https://discuss.elastic.co/t/how-to-change-the-data-type-of-my-index-pattern/234218 "2020-05-25T22:59:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kercio](https://avatars.discourse-cdn.com/v4/letter/k/cdc98d/32.png) [@kercio](https://discuss.elastic.co/u/kercio)\
**Post date:** [May 25, 2020, 10:59pm UTC](https://discuss.elastic.co/t/how-to-change-the-data-type-of-my-index-pattern/234218/1 "2020-05-25T22:59:06Z")

</div>

I would like to change the UploadTimestamp from string to date. It's grayed-out.

![image](https://us1.discourse-cdn.com/elastic/original/3X/3/a/3a0316dd897b99379d029f5224994869548f823a.png)

---

<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:** [May 26, 2020, 12:03am UTC](https://discuss.elastic.co/t/how-to-change-the-data-type-of-my-index-pattern/234218/2 "2020-05-26T00:03:30Z")

</div>

You can't change it once it's been defined in Elasticsearch in that index. The only ways to change the format are;

- reindex into a new index
- resend the data to Elasticsearch (aka reindex)

---

<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:** [June 23, 2020, 12:03am UTC](https://discuss.elastic.co/t/how-to-change-the-data-type-of-my-index-pattern/234218/3 "2020-06-23T00:03:30Z")

</div>

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