# How to modify analyzed fields

**URL:** <https://discuss.elastic.co/t/how-to-modify-analyzed-fields/45235>\
**Category:** Elasticsearch\
**Created:** [March 23, 2016, 2:39pm UTC](https://discuss.elastic.co/t/how-to-modify-analyzed-fields/45235 "2016-03-23T14:39:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [March 23, 2016, 2:39pm UTC](https://discuss.elastic.co/t/how-to-modify-analyzed-fields/45235/1 "2016-03-23T14:39:36Z")

</div>

Hello,  
I have few analyzed field in ES.

Example: Application:"spm-resource" type:"spm-error".

When I create pie-chart using visualizations, it can not split those correctly.

Can I modify those analyzed fields now for existing data in ES? How to do that?

br,  
Sunil

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [March 25, 2016, 3:38pm UTC](https://discuss.elastic.co/t/how-to-modify-analyzed-fields/45235/2 "2016-03-25T15:38:37Z")

</div>

You can't modify existing mappings. Adjust your index template so that the next time an index is created it'll be correctly mapped and reindex your old data if needed. This is a frequently asked question so you should be able to find details about these operations in the archives.

---

<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 5, 2017, 11:05pm UTC](https://discuss.elastic.co/t/how-to-modify-analyzed-fields/45235/3 "2017-07-05T23:05:06Z")

</div>

Closed on July 5, 2017, 11:05pm UTC


