elastic / logstash

Logstash - transport and process your logs, events, or other data
https://www.elastic.co/products/logstash
Other
14.2k stars 3.5k forks source link

Logstash issue connecting with elasticsearch after some time #13491

Open dominbdg opened 2 years ago

dominbdg commented 2 years ago

Hello, I have below issue, I'm using logstash in docker 7.6.1and after start logstash is running fine. After 30mins I see below errors:

[[main]>worker8] elasticsearch - 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", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::NoConnectionAvailableError", :will_retry_in_seconds=>2}

After that time logstash is not working - I mean not processing indexes and in Kibana I don't see new indexes

yaauie commented 2 years ago

@dominbdg

How is your Elasticsearch configured? Are there any proxies between Logstash and Elasticsearch (including those inherent in docker swarm-mode Elasticsearch clusters)?

Is it possible to upgrade to a more recent Logstash like 7.16.1? A lot has happened since February of 2020 when we released LS 7.6.1.

Sumit0789 commented 1 year ago

any update on this issue.

mashhurs commented 1 year ago

Hi @Sumit0789 , We need a clarification to understand the issue behavior.