Logstash not able to send bulk requests to ES


(sudi) #1

Hi All,
Please help i have no idea why i am getting the below error in logstash logs

Logstash is not able to send data to ES, because of which i am not able to get the entire data.
I am using a single node setup

logs:
Marking url as dead. Last error: [LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError] Elasticsearch Unreachable: [http://sanbox.coml.com:9200/][Manticore::SocketTimeout] Read timed out {:url=>http://sandbox.com:9200/, :error_message=>"Elasticsearch Unreachable: [http://sandbox.com:9200/][Manticore::SocketTimeout] Read timed out", :error_class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError"

[2017-10-10T16:56:56,983][WARN ][logstash.outputs.elasticsearch] UNEXPECTED POOL ERROR {:e=>#<LogStash::Outputs::ElasticSearch::HttpClient::Pool::NoConnectionAvailableError: No Available connections>}

[2017-10-10T16:56:56,983][ERROR][logstash.outputs.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=>4}

Elasticsearch is up and running . Both ELK and logstash are of version 5.6.1
its a single node setup..
below is my output file:
output {
if [type] == "fsimagedaily" {
elasticsearch {
hosts => ["sandbox.com:9200"]
index => "fsimage-%{+YYYY.MM.dd}"
}
}

else {
elasticsearch {
hosts => ["sandbox.com:9200"]
}
}


(system) #2

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