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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.