# Kibana too many docvalue\_fields issue

**URL:** <https://discuss.elastic.co/t/kibana-too-many-docvalue-fields-issue/329981>\
**Category:** Kibana\
**Tags:** kql-kibana-query-language\
**Created:** [April 14, 2023, 7:28am UTC](https://discuss.elastic.co/t/kibana-too-many-docvalue-fields-issue/329981 "2023-04-14T07:28:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prakash111](https://avatars.discourse-cdn.com/v4/letter/p/71e660/32.png) [@Prakash111](https://discuss.elastic.co/u/Prakash111)\
**Post date:** [April 14, 2023, 7:28am UTC](https://discuss.elastic.co/t/kibana-too-many-docvalue-fields-issue/329981/1 "2023-04-14T07:28:15Z")

</div>

I'm getting too many docvalue\_fields error in Kibana.

```auto
PUT /index_name_log-*/_settings
{
	"index.max_docvalue_fields_search" : "10000000"
}

```

by this way we can increase limit, but

1. can I know which log line causing this issue ?
2. What is the side effects of increasing this Limit ?
3. Any suggestion ....!

please help me.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 15, 2023, 1:32am UTC](https://discuss.elastic.co/t/kibana-too-many-docvalue-fields-issue/329981/2 "2023-04-15T01:32:02Z")

</div>

That is the whole index that is causing it, as docvalue\_fields is a map of all the fields in your index. I assume your data is very sparse and you have way too many fields.  
You can read more about them in the Elasticsearch documentation: [Retrieve selected fields from a search | Elasticsearch Guide [8.7] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html)  
Increasing that number will have a large effect on performance, both for Kibana and Elasticsearch. I would suggest looking at your index and your data modelling to avoid having too many fields.

---

<div class="post-metadata">

**Author:** ![Prakash111](https://avatars.discourse-cdn.com/v4/letter/p/71e660/32.png) [@Prakash111](https://discuss.elastic.co/u/Prakash111)\
**Post date:** [April 27, 2023, 11:36am UTC](https://discuss.elastic.co/t/kibana-too-many-docvalue-fields-issue/329981/4 "2023-04-27T11:36:05Z")

</div>

1. can I know which log line causing this issue ?

---

<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 25, 2023, 11:36am UTC](https://discuss.elastic.co/t/kibana-too-many-docvalue-fields-issue/329981/5 "2023-05-25T11:36:48Z")

</div>

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