# Elastic Search Mapping Issue

**URL:** <https://discuss.elastic.co/t/elastic-search-mapping-issue/2764>\
**Category:** Elasticsearch\
**Created:** [June 16, 2015, 7:22am UTC](https://discuss.elastic.co/t/elastic-search-mapping-issue/2764 "2015-06-16T07:22:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suganthi\_Thangavel](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Suganthi\_Thangavel](https://discuss.elastic.co/u/Suganthi_Thangavel)\
**Post date:** [June 16, 2015, 7:22am UTC](https://discuss.elastic.co/t/elastic-search-mapping-issue/2764/1 "2015-06-16T07:22:14Z")

</div>

Hi,

I have renamed the field in logstash using mutate filter.  
When a plot histogram, elastic search says field not found as below  
"Caused by: org.elasticsearch.search.facet.FacetPhaseExecutionException: Facet [1]: (value) field [HeapUsed] not found".

"HeapUsed" is my renamed field.

Do i have to create a new field in elastic search mapping template for renamed field?

---

<div class="post-metadata">

**Author:** ![segalziv](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@segalziv](https://discuss.elastic.co/u/segalziv)\
**Post date:** [June 17, 2015, 8:34am UTC](https://discuss.elastic.co/t/elastic-search-mapping-issue/2764/2 "2015-06-17T08:34:47Z")

</div>

hi, there can be few reasons:

- did you convert the field type as part of the mutate (from string to float for example)? that may cause mapper parsing exception when trying to index new docs, and therefore the aggregation on the field fails.
- another reason the field is not found might be if you disable dynamic mapping in elasticsearch.

---

<div class="post-metadata">

**Author:** ![Suganthi\_Thangavel](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Suganthi\_Thangavel](https://discuss.elastic.co/u/Suganthi_Thangavel)\
**Post date:** [June 23, 2015, 10:33am UTC](https://discuss.elastic.co/t/elastic-search-mapping-issue/2764/3 "2015-06-23T10:33:17Z")

</div>

yes I have renamed and converted the field type. Still it is the functionality of the mutate filter in logstash ?

---

<div class="post-metadata">

**Author:** ![Suganthi\_Thangavel](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Suganthi\_Thangavel](https://discuss.elastic.co/u/Suganthi_Thangavel)\
**Post date:** [June 24, 2015, 11:25am UTC](https://discuss.elastic.co/t/elastic-search-mapping-issue/2764/4 "2015-06-24T11:25:15Z")

</div>

I have resolved this error.  
Problem was related to date filter.

---

<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, 12:05am UTC](https://discuss.elastic.co/t/elastic-search-mapping-issue/2764/5 "2017-07-06T00:05:39Z")

</div>


