Hi all,
I'm working on events uploading from local Elasticsearch to remote Elasticsearch with Logstash.
I noticed if remote Elastic is disconnected for some reason, the error looks like this:
"Attempted to send a bulk request to elasticsearch, but no there are no living connections in the connection pool. Perhaps Elasticsearch is unreachable or down? {:error_message=>"No Available connections"...
And after: "Restored connection to ES instance"
the same event was sent 5 times to remote Elasticsearch. I must say that in output section I updating the field "uploaded" to be true, in order to avoid multiple uploads, but in this case, it looks like that failed sending was cached many times and sent after connection established.
Any Ideas?
Thanks in advance.