Max event size for tcp input plugin

Logstash version 7.6

I am sending a big json over TCP to Logstash. Somehow only partial of the event was able to output. roughly 60KB. The rest of the event was dicarded. Any way i can increase this limit.

I tried to increase the tcp buffer size in system config (Centos7), net.ipv4.tcp_rmem, but no help.

Looks like someone had encountered the same issue before:

By more testing, looks like the net.ipv4.tcp_rmem and net.ipv4.tcp_wmem settings do have effect.

What I did was to increase net.ipv4.tcp_rmem min and initial values in the Logstash server, and also increased net.ipv4.tcp_wmem min and initial values in the client side.

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