# When filebeat harvest logs to elasticsearch ,"Failed to perform any bulk index operations: 413 Request Entity Too Large:"

**URL:** <https://discuss.elastic.co/t/when-filebeat-harvest-logs-to-elasticsearch-failed-to-perform-any-bulk-index-operations-413-request-entity-too-large/223045>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 11, 2020, 5:12am UTC](https://discuss.elastic.co/t/when-filebeat-harvest-logs-to-elasticsearch-failed-to-perform-any-bulk-index-operations-413-request-entity-too-large/223045 "2020-03-11T05:12:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ELK\_2100](https://avatars.discourse-cdn.com/v4/letter/e/49beb7/32.png) [@ELK\_2100](https://discuss.elastic.co/u/ELK_2100)\
**Post date:** [March 11, 2020, 5:12am UTC](https://discuss.elastic.co/t/when-filebeat-harvest-logs-to-elasticsearch-failed-to-perform-any-bulk-index-operations-413-request-entity-too-large/223045/1 "2020-03-11T05:12:06Z")

</div>

2020-03-11T09:00:51.117+0800 INFO pipeline/output.go:105 Connection to backoff(elasticsearch([http://1.2.3.4:9300](http://1.2.3.4:9300))) established  
2020-03-11T09:00:51.344+0800 ERROR elasticsearch/client.go:343 Failed to perform any bulk index operations: 413 Request Entity Too Large:  
2020-03-11T09:00:51.714+0800 ERROR elasticsearch/client.go:343 Failed to perform any bulk index operations: Post [http://1.2.3.5:9300/\_bulk:](http://1.2.3.5:9300/_bulk:) net/http: HTTP/1.x transport connection broken: write tcp 1.1.1.1:64453-\>1.2.3.5:9300: wsasend: An existing connection was forcibly closed by the remote host.  
2020-03-11T09:00:52.395+0800 ERROR elasticsearch/client.go:343 Failed to perform any bulk index operations: Post [http://1.2.3.4:9300/\_bulk:](http://1.2.3.4:9300/_bulk:) net/http: HTTP/1.x transport connection broken: write tcp 1.1.1.1:64454-\>1.2.3.4:9300: wsasend: An existing connection was forcibly closed by the remote host.  
2020-03-11T09:00:52.395+0800 INFO [publisher] pipeline/retry.go:166 retryer: send wait signal to consumer  
2020-03-11T09:00:52.395+0800 INFO [publisher] pipeline/retry.go:168 done

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [March 11, 2020, 8:13am UTC](https://discuss.elastic.co/t/when-filebeat-harvest-logs-to-elasticsearch-failed-to-perform-any-bulk-index-operations-413-request-entity-too-large/223045/2 "2020-03-11T08:13:19Z")

</div>

I assume you've to adjust the setting "http.max\_content\_length". Please dive into the documentation.

---

<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, 2020, 8:13am UTC](https://discuss.elastic.co/t/when-filebeat-harvest-logs-to-elasticsearch-failed-to-perform-any-bulk-index-operations-413-request-entity-too-large/223045/3 "2020-04-08T08:13:24Z")

</div>

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