Logstash benchmark

I see the below error in logstash

[2025-01-17T16:10:51,266][ERROR][logstash.outputs.elasticsearch][main][e65c1c48441d9162efee01ea49bd87b3c33b47189f25296954c014186f3f1bca] Encountered a retryable error (will retry with exponential backoff) {:code=>503, :url=>"https://***************************************************************************:443/_bulk", :content_length=>811}
  1. How to handle this?
  2. How to bench mark if logstash is able to handle the load?

please help.

If elasticsearch returns a 503 status then the logstash output will retry forever (the "For everything else there's mastercard" branch in the code) . There should be a more informative error message in the elasticsearch logs.

1 Like

Thank you Badger. Elastic search is down due to shards Initializing. After fixing it. This issue is resolved.