[ERROR][logstashoutputselasticsearch] Attempted to send a bulk request to elasticsearch but Elasticsearch appears to be unreachable or down

What to do when this appears in the logstash log?

[2020-12-04T09:46:50,568][WARN ][logstash.outputs.elasticsearch][main] Marking url as dead. Last error: [LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError] Elasticsearch Unreachable: [http://localhost:9201/][Manticore::SocketTimeout] Read timed out {:url=>http://localhost:9201/, :error_message=>"Elasticsearch Unreachable: [http://localhost:9201/][Manticore::SocketTimeout] Read timed out", :error_class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError"}
[2020-12-04T09:46:50,568][ERROR][logstash.outputs.elasticsearch][main] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [http://localhost:9201/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}

O que fazer quando aparece isso no log do logstash?

[2020-12-04T09: 46: 50,568] [WARN] [logstash.outputs.elasticsearch] [main] Marcando url como morto. Último erro: [LogStash :: Outputs :: ElasticSearch :: HttpClient :: Pool :: HostUnreachableError] Elasticsearch inacessível: [http: // localhost: 9201 /] [Manticore :: SocketTimeout] Tempo de leitura esgotado {: url => http: // localhost: 9201 /,: error_message => "Elasticsearch inacessível: [http: // localhost: 9201 /] [Manticore :: SocketTimeout] Tempo limite de leitura esgotado",: error_class => "LogStash :: Outputs :: ElasticSearch :: HttpClient :: Pool :: HostUnreachableError "}
[2020-12-04T09: 46: 50,568] [ERROR] [logstash.outputs.elasticsearch] [main] Tentativa de enviar uma solicitação em massa para elasticsearch 'mas Elasticsearch parece estar inacessível ou fora do ar! {: error_message => "Elasticsearch Unreachable: [http: // localhost: 9201 /] [Manticore :: SocketTimeout] Tempo limite de leitura esgotado",: class => "LogStash :: Outputs :: ElasticSearch :: HttpClient :: Pool :: HostUnreachableError ",: will_retry_in_seconds => 2}

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