# Graphing after changing type of data in the index

**URL:** https://discuss.elastic.co/t/graphing-after-changing-type-of-data-in-the-index/24160
**Category:** Kibana
**Created:** [June 23, 2015, 8:44am UTC](https://discuss.elastic.co/t/graphing-after-changing-type-of-data-in-the-index/24160 "2015-06-23T08:44:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Marcin\_K](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Marcin\_K](https://discuss.elastic.co/u/Marcin_K)
#### Post date: [June 23, 2015, 8:44am UTC](https://discuss.elastic.co/t/graphing-after-changing-type-of-data-in-the-index/24160/1 "2015-06-23T08:44:54Z")

</div>

Hello,  
I used to have a graph where I'd show unique count of a field which was type of a "string".  
I've changed this field to type "long" in the next daily index and now the graph no longer works  
because the field is no longer visible in kibana.

I get a warning in kibana saying that there's conflict of data type for that field.  
And I was wondering if there's any way around that. ( apart from reindexing data)

Thanks & regards  
m

---

<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: [June 23, 2015, 9:43am UTC](https://discuss.elastic.co/t/graphing-after-changing-type-of-data-in-the-index/24160/2 "2015-06-23T09:43:08Z")

</div>

Unfortunately there is not a work around other than reindexing.

Though you can do that easily with LS

---

<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: [July 6, 2017, 2:17pm UTC](https://discuss.elastic.co/t/graphing-after-changing-type-of-data-in-the-index/24160/3 "2017-07-06T14:17:37Z")

</div>


