# Fielddata disabled on text fields

**URL:** <https://discuss.elastic.co/t/fielddata-disabled-on-text-fields/81998>\
**Category:** Elasticsearch\
**Created:** [April 11, 2017, 2:18pm UTC](https://discuss.elastic.co/t/fielddata-disabled-on-text-fields/81998 "2017-04-11T14:18:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ariceELK](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@ariceELK](https://discuss.elastic.co/u/ariceELK)\
**Post date:** [April 11, 2017, 2:18pm UTC](https://discuss.elastic.co/t/fielddata-disabled-on-text-fields/81998/1 "2017-04-11T14:18:25Z")

</div>

I'm using Grafana to graph metribeats data and filter by ip address "fields.ipaddr"

Is there an entry to enable fielddata on this item in elasticsearch.yml so that its enabled on every newly created index ?

This is the panel :

 ![](https://us1.discourse-cdn.com/elastic/original/3X/9/0/904ebbe614fa911c8218255e85348b378b3eb7a3.png)

Thanks  
Aidan

---

<div class="post-metadata">

**Author:** ![jkuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkuang/32/72637_2.png) [@jkuang](https://discuss.elastic.co/u/jkuang)\
**Post date:** [April 11, 2017, 7:23pm UTC](https://discuss.elastic.co/t/fielddata-disabled-on-text-fields/81998/2 "2017-04-11T19:23:39Z")

</div>

Enabling field data by default can have a significant toll on memory.

Please take a look at the article below:

[https://www.elastic.co/guide/en/elasticsearch/reference/current/fielddata.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/fielddata.html)

---

<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:** [May 9, 2017, 7:36pm UTC](https://discuss.elastic.co/t/fielddata-disabled-on-text-fields/81998/3 "2017-05-09T19:36:26Z")

</div>

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