# How drop messages with total fields bigger than 1000

**URL:** <https://discuss.elastic.co/t/how-drop-messages-with-total-fields-bigger-than-1000/245012>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [August 14, 2020, 1:08pm UTC](https://discuss.elastic.co/t/how-drop-messages-with-total-fields-bigger-than-1000/245012 "2020-08-14T13:08:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorinand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dorinand/32/70521_2.png) [@dorinand](https://discuss.elastic.co/u/dorinand)\
**Post date:** [August 14, 2020, 1:08pm UTC](https://discuss.elastic.co/t/how-drop-messages-with-total-fields-bigger-than-1000/245012/1 "2020-08-14T13:08:40Z")

</div>

I am receiving a lot of `Limit of total fields [1000]` errors. I increase the size to 2000 but the errors still occurs and dont want to increase the limit to bigger size . I was not able to find a filter or other way, how to drop messages that exceeds specified limit. There is a lot of microservices I am harvesting logs from, and more comes every month. Is there a way how to filter this documents?

---

<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:** [September 11, 2020, 1:08pm UTC](https://discuss.elastic.co/t/how-drop-messages-with-total-fields-bigger-than-1000/245012/2 "2020-09-11T13:08:42Z")

</div>

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