Logstash stops running after some time


I am facing issue with Logstash where it is being stopped suddenly when trying to send the output to SQS?

Can any one help?

Thanks in Advance!


Hi Gopal,

It will be great if you post stacktrace. Otherwise it is impossible to predict what is the main reason or what is causing logstash server. Are you running logstash server using root credentials ?


Thanks for looking into the issue. Please find the trace from error file.

#Class:0x43db734f: One or more parameters are invalid. Reason: Message must be shorter than 262144 bytes.
return_or_raise at /opt/logstash/vendor/bundle/jruby/1.9/gems/aws-sdk-1.35.0/lib/aws/core/client.rb:374
client_request at /opt/logstash/vendor/bundle/jruby/1.9/gems/aws-sdk-1.35.0/lib/aws/core/client.rb:475
send_message at (eval):3
send_message at /opt/logstash/vendor/bundle/jruby/1.9/gems/aws-sdk-1.35.0/lib/aws/sqs/queue.rb:122
receive at /opt/logstash/lib/logstash/outputs/sqs.rb:126
handle at /opt/logstash/lib/logstash/outputs/base.rb:86
initialize at (eval):17
call at org/jruby/RubyProc.java:271
output at /opt/logstash/lib/logstash/pipeline.rb:266
outputworker at /opt/logstash/lib/logstash/pipeline.rb:225
start_outputs at /opt/logstash/lib/logstash/pipeline.rb:152

Can you also please share the logstash logs? Also do enable --debug before pasting the logs in here

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