Unable to send logs from filebeat to elastic output

Hi Team,

we have production environment where we are getting below error while filebeat is sending logs to Elastic output, so kindly help us in getting resolve this issue.

2019-11-26T08:59:14.977Z ERROR elasticsearch/client.go:317 Failed to perform any bulk index operations: 413 Request Entity Too Large:

413 Request Entity Too Large

413 Request Entity Too Large


openresty/1.15.8.1

We have tried the options from both filebeat and elastic side but there is no use, still we are getting same issue.

Filebeat:- bulk_max_size: 1
Elastic:- http.max_header_size: 16kb, http.max_content_length: 500mb

Could you please share the debug output of Filebeat?