# Visualize: Fielddata is disabled on text fields by default. Set fielddata=true on \[system.syslog.hostname\] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory

**URL:** <https://discuss.elastic.co/t/visualize-fielddata-is-disabled-on-text-fields-by-default-set-fielddata-true-on-system-syslog-hostname-in-order-to-load-fielddata-in-memory-by-uninverting-the-inverted-index-note-that-this-can-however-use-significant-memory/84526>\
**Category:** Elasticsearch\
**Created:** [May 4, 2017, 9:56am UTC](https://discuss.elastic.co/t/visualize-fielddata-is-disabled-on-text-fields-by-default-set-fielddata-true-on-system-syslog-hostname-in-order-to-load-fielddata-in-memory-by-uninverting-the-inverted-index-note-that-this-can-however-use-significant-memory/84526 "2017-05-04T09:56:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaonbean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaonbean/32/14416_2.png) [@shaonbean](https://discuss.elastic.co/u/shaonbean)\
**Post date:** [May 4, 2017, 9:56am UTC](https://discuss.elastic.co/t/visualize-fielddata-is-disabled-on-text-fields-by-default-set-fielddata-true-on-system-syslog-hostname-in-order-to-load-fielddata-in-memory-by-uninverting-the-inverted-index-note-that-this-can-however-use-significant-memory/84526/1 "2017-05-04T09:56:01Z")

</div>

Error: Request to Elasticsearch failed: {"error":{"root\_cause":[{"type":"illegal\_argument\_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [system.syslog.hostname] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory."}],"type":"search\_phase\_execution\_exception","reason":"all shards failed","phase":"query","grouped":true,"failed\_shards":[{"shard":0,"index":"filebeat-2017.05.04","node":"wPcHZvbMQRCXCgWnAkooBg","reason":{"type":"illegal\_argument\_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [system.syslog.hostname] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory."}}],"caused\_by":{"type":"illegal\_argument\_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [system.syslog.hostname] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory."}},"status":400}  
at [http://elk.aniu.co/bundles/kibana.bundle.js?v=14849:28:15872](http://elk.aniu.co/bundles/kibana.bundle.js?v=14849:28:15872)  
at Function.Promise.try ([http://elk.aniu.co/bundles/commons.bundle.js?v=14849:75:22403](http://elk.aniu.co/bundles/commons.bundle.js?v=14849:75:22403))  
at [http://elk.aniu.co/bundles/commons.bundle.js?v=14849:75:21773](http://elk.aniu.co/bundles/commons.bundle.js?v=14849:75:21773)  
at Array.map (native)  
at Function.Promise.map ([http://elk.aniu.co/bundles/commons.bundle.js?v=14849:75:21728](http://elk.aniu.co/bundles/commons.bundle.js?v=14849:75:21728))  
at callResponseHandlers ([http://elk.aniu.co/bundles/kibana.bundle.js?v=14849:28:15484](http://elk.aniu.co/bundles/kibana.bundle.js?v=14849:28:15484))  
at [http://elk.aniu.co/bundles/kibana.bundle.js?v=14849:28:3614](http://elk.aniu.co/bundles/kibana.bundle.js?v=14849:28:3614)  
at processQueue ([http://elk.aniu.co/bundles/commons.bundle.js?v=14849:38:23621](http://elk.aniu.co/bundles/commons.bundle.js?v=14849:38:23621))  
at [http://elk.aniu.co/bundles/commons.bundle.js?v=14849:38:23888](http://elk.aniu.co/bundles/commons.bundle.js?v=14849:38:23888)  
at Scope.$eval ([http://elk.aniu.co/bundles/commons.bundle.js?v=14849:39:4619](http://elk.aniu.co/bundles/commons.bundle.js?v=14849:39:4619))

---

<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:** [May 4, 2017, 10:07am UTC](https://discuss.elastic.co/t/visualize-fielddata-is-disabled-on-text-fields-by-default-set-fielddata-true-on-system-syslog-hostname-in-order-to-load-fielddata-in-memory-by-uninverting-the-inverted-index-note-that-this-can-however-use-significant-memory/84526/2 "2017-05-04T10:07:14Z")

</div>

Please don't put the error in the subject, the subject should be a summary of the problem.

Also if you are asking for help, don't just past errors and presume that we know what it means and what you are asking for.

---

<div class="post-metadata">

**Author:** ![shaonbean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaonbean/32/14416_2.png) [@shaonbean](https://discuss.elastic.co/u/shaonbean)\
**Post date:** [May 4, 2017, 11:11am UTC](https://discuss.elastic.co/t/visualize-fielddata-is-disabled-on-text-fields-by-default-set-fielddata-true-on-system-syslog-hostname-in-order-to-load-fielddata-in-memory-by-uninverting-the-inverted-index-note-that-this-can-however-use-significant-memory/84526/3 "2017-05-04T11:11:07Z")

</div>

sorry

---

<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:** [June 1, 2017, 11:17am UTC](https://discuss.elastic.co/t/visualize-fielddata-is-disabled-on-text-fields-by-default-set-fielddata-true-on-system-syslog-hostname-in-order-to-load-fielddata-in-memory-by-uninverting-the-inverted-index-note-that-this-can-however-use-significant-memory/84526/4 "2017-06-01T11:17:37Z")

</div>

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