We have been strugling with one specific issue which comes intermittently when trying to send data from one Logstash instance to other using Lumberjack Output -Input plugin.
The recieveing end never shows an error. However there is always an error at the sender configuration.
[2018-04-09T12:20:50,231][ERROR][logstash.outputs.lumberjack] Client write error, trying connect {:e=>#<IOError: Connection reset by peer>, :backtrace=>["org/jruby/ext/openssl/SSLSocket.java:861:in `syswrite'", "/home/user/logstash/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/client.rb:116:in `send_payload'", "/home/user/logstash/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/client.rb:132:in `write_sync'", "/home/user/logstash/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/client.rb:42:in `write
What all possible troubleshooting steps we could take to rectify the issue once and for all.