Skip to content

Add more visibility to "Encountered a retryable error." #794

Open
@KIVagant

Description

@KIVagant

Hello.

I would like to ask you to add more details into the next log:

[2018-08-23T13:15:54,028][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff  {:code=>400, :url=>"https://mydomain.us-east-1.es.amazonaws.com:443/_bulk"}
[2018-08-23T13:15:54,029][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff  {:code=>400, :url=>"https://mydomain.us-east-1.es.amazonaws.com:443/_bulk"}
[2018-08-23T13:15:54,030][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff  {:code=>400, :url=>"https://mydomain.us-east-1.es.amazonaws.com:443/_bulk"}

The problem is that I see tons of logs like this and can't understand: are they all related to the one request or they all are results from different requests? Is Logstash trying to re-send one request again and again or just some of requests fail periodically and then they finally get to ES?

It would be nice to have a request Id of something like this in the log.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions