# Error filebeat - Trying to retrieve too many docvalue\_fields

**URL:** <https://discuss.elastic.co/t/error-filebeat-trying-to-retrieve-too-many-docvalue-fields/327394>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 9, 2023, 8:58pm UTC](https://discuss.elastic.co/t/error-filebeat-trying-to-retrieve-too-many-docvalue-fields/327394 "2023-03-09T20:58:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maria\_Gabriela\_Perez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maria_gabriela_perez/32/100571_2.png) [@Maria\_Gabriela\_Perez](https://discuss.elastic.co/u/Maria_Gabriela_Perez)\
**Post date:** [March 9, 2023, 8:58pm UTC](https://discuss.elastic.co/t/error-filebeat-trying-to-retrieve-too-many-docvalue-fields/327394/1 "2023-03-09T20:58:50Z")

</div>

[illegal\_argument\_exception] Trying to retrieve too many docvalue\_fields. Must be less than or equal to: [200] but was [208]. This limit can be set by changing the [index.max\_docvalue\_fields\_search] index level setting.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [March 11, 2023, 4:30pm UTC](https://discuss.elastic.co/t/error-filebeat-trying-to-retrieve-too-many-docvalue-fields/327394/2 "2023-03-11T16:30:01Z")

</div>

Hi @Maria_Gabriela_Perez

You are going to need to provide a lot more detail if you would like help.

What version of the stack are you on?

What are you doing when you see this?

Where do you see this error? In the filebeat logs, In Kibana?

Did you look at this

> [@Kibana requesting too many doc values](https://discuss.elastic.co/t/kibana-requesting-too-many-doc-values/147760/3):
>
> Hi CJ, thanks for asking the team. I ended up bumping max\_docvalue\_fields\_search for now and that has worked out. I think mapping them to strings is the next best option, and that's what I'll probably do when the next time this comes up. I really wanted to avoid having to create mappings manually though, since the schema is pretty arbitrary. As for using a single index pattern, I do usually want my query to hit all indexes in Kibana. The events are usually for the same domain object, but withi…

---

<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:** [April 8, 2023, 4:30pm UTC](https://discuss.elastic.co/t/error-filebeat-trying-to-retrieve-too-many-docvalue-fields/327394/3 "2023-04-08T16:30:32Z")

</div>

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