# How to change the huge amount of data formats of my index pattern at once?

**URL:** <https://discuss.elastic.co/t/how-to-change-the-huge-amount-of-data-formats-of-my-index-pattern-at-once/248937>\
**Category:** Kibana\
**Created:** [September 17, 2020, 8:06am UTC](https://discuss.elastic.co/t/how-to-change-the-huge-amount-of-data-formats-of-my-index-pattern-at-once/248937 "2020-09-17T08:06:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![m-amano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-amano/32/62977_2.png) [@m-amano](https://discuss.elastic.co/u/m-amano)\
**Post date:** [September 17, 2020, 8:06am UTC](https://discuss.elastic.co/t/how-to-change-the-huge-amount-of-data-formats-of-my-index-pattern-at-once/248937/1 "2020-09-17T08:06:17Z")

</div>

I want to change the data format from default to string.  
However it is too many to change from the UI.

![index_pattern](https://us1.discourse-cdn.com/elastic/original/3X/7/c/7c1f22f2d2b51eba6cf613d6106ca7c179fc45a6.png)

Is Reindex API able to use or other Restful API to do so?

---

<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:** [September 17, 2020, 10:23pm UTC](https://discuss.elastic.co/t/how-to-change-the-huge-amount-of-data-formats-of-my-index-pattern-at-once/248937/2 "2020-09-17T22:23:16Z")

</div>

Ideally, you should be using a defined mapping in Elasticsearch for the index so that Kibana reads the formats correctly.

So you can create the explicit mapping, and then 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:** [October 15, 2020, 10:23pm UTC](https://discuss.elastic.co/t/how-to-change-the-huge-amount-of-data-formats-of-my-index-pattern-at-once/248937/3 "2020-10-15T22:23:24Z")

</div>

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