# Fieldata / update mapping in DevTools

**URL:** <https://discuss.elastic.co/t/fieldata-update-mapping-in-devtools/204592>\
**Category:** Kibana\
**Created:** [October 22, 2019, 7:16am UTC](https://discuss.elastic.co/t/fieldata-update-mapping-in-devtools/204592 "2019-10-22T07:16:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![konradkozlowski](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@konradkozlowski](https://discuss.elastic.co/u/konradkozlowski)\
**Post date:** [October 22, 2019, 7:16am UTC](https://discuss.elastic.co/t/fieldata-update-mapping-in-devtools/204592/1 "2019-10-22T07:16:33Z")

</div>

Hi

The primary issue is that heat map is not working cause of invalid arguments. I have to add each time "fielddata": true to one of the properties. Robotlogs.json file has been updated but with no positive result.

This has been sorted out by manually typing PUT code in DEVTools.

Is there a way to automate this using Kibana ? I started to think about task directly connecting to the engine and using my script.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [October 22, 2019, 10:33pm UTC](https://discuss.elastic.co/t/fieldata-update-mapping-in-devtools/204592/2 "2019-10-22T22:33:39Z")

</div>

Hello,

You will have to do the mapping update directly using Elasticsearch.  
So you using the console is the correct step.

Are you seeing other problems after you updated mapping?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![konradkozlowski](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@konradkozlowski](https://discuss.elastic.co/u/konradkozlowski)\
**Post date:** [October 23, 2019, 10:45am UTC](https://discuss.elastic.co/t/fieldata-update-mapping-in-devtools/204592/3 "2019-10-23T10:45:14Z")

</div>

the thing is i have to manually execute PUT command each day so fielddata becomes true

"log": {  
"properties": {  
"instance\_name": {  
"type": "text",  
**"fielddata": true**

i have no clue where i can change this so i dont have to execute this one each day.

---

<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:** [November 20, 2019, 10:45am UTC](https://discuss.elastic.co/t/fieldata-update-mapping-in-devtools/204592/4 "2019-11-20T10:45:17Z")

</div>

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