# Getting warning in for every Kibana Field

**URL:** <https://discuss.elastic.co/t/getting-warning-in-for-every-kibana-field/917>\
**Category:** Kibana\
**Created:** [May 19, 2015, 5:32pm UTC](https://discuss.elastic.co/t/getting-warning-in-for-every-kibana-field/917 "2015-05-19T17:32:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [May 19, 2015, 5:32pm UTC](https://discuss.elastic.co/t/getting-warning-in-for-every-kibana-field/917/1 "2015-05-19T17:32:54Z")

</div>

Hi Experts,

I have created index using logstash and stored it to ES. Now when I feed it to kibana I am getting following warning for every field.

"Doc Values are not enabled on this field . This may lead to excess heap consumption when visualizing"

Please suggest what needs to be done here

Thanks  
VG

---

<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 20, 2015, 8:29am UTC](https://discuss.elastic.co/t/getting-warning-in-for-every-kibana-field/917/2 "2015-05-20T08:29:14Z")

</div>

Take a look here - [http://www.elastic.co/guide/en/elasticsearch/guide/current/doc-values.html](http://www.elastic.co/guide/en/elasticsearch/guide/current/doc-values.html)

---

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [May 20, 2015, 6:47pm UTC](https://discuss.elastic.co/t/getting-warning-in-for-every-kibana-field/917/3 "2015-05-20T18:47:40Z")

</div>

Thanks Mark,

I read this document and got some idea what could be the reason behind . It says to enable Doc value I have to use following  
PUT /music/\_mapping/song  
{  
"properties" : {  
"tag": {  
"type": "string",  
"index" : "not\_analyzed",  
"doc\_values": true  
}  
}  
}

My question is where do I need to paste this code. Sorry , I am new to this . Do I need to save it in "elasticsearch-template.json" under template folder in ES.

Please suggest.

---

<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 20, 2015, 10:26pm UTC](https://discuss.elastic.co/t/getting-warning-in-for-every-kibana-field/917/4 "2015-05-20T22:26:22Z")

</div>

That is Sense code, if you are using Marvel you can find Sense under the dashboards tab.

Otherwise you can just append `curl -X` to this and just use curl to send it to ES. You will need to single quote the json though!

---

<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, 2:19pm UTC](https://discuss.elastic.co/t/getting-warning-in-for-every-kibana-field/917/5 "2017-07-06T14:19:11Z")

</div>


