I am using Elasticsearch and Logstash 5.2.0, I am getting these constant error and warnings in my logstash logs even though my elastcisearch is always up.
[2017-06-19T07:00:37,497][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [http://es-prod-rtp1-c3.fmr.com:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}
[2017-06-19T07:00:39,496][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://es-prod-rtp1-c3.fmr.com:9200/, :path=>"/"}
[2017-06-19T07:00:39,499][WARN ][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=>#<URI::HTTP:0x4ebbd8a0 URL:http://es-prod-rtp1-c3.fmr.com:9200/>}
[2017-06-19T07:02:26,089][WARN ][logstash.outputs.elasticsearch] Marking url as dead. Last error: [LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError] Elasticsearch Unreachable: [http://es-prod-rtp1-c2.fmr.com:9200/][Manticore::SocketTimeout] Read timed out {:url=>http://es-prod-rtp1-c2.fmr.com:9200/, :error_message=>"Elasticsearch Unreachable: [http://es-prod-rtp1-c2.fmr.com:9200/][Manticore::SocketTimeout] Read timed out", :error_class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError"}
[2017-06-19T07:02:26,089][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [http://es-prod-rtp1-c2.fmr.com:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}
[2017-06-19T07:02:29,999][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://es-prod-rtp1-c2.fmr.com:9200/, :path=>"/"}
[2017-06-19T07:02:30,002][WARN ][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=>#<URI::HTTP:0x21dfdd7d URL:http://es-prod-rtp1-c2.fmr.com:9200/>}
[2017-06-19T07:03:13,937][WARN ][logstash.outputs.elasticsearch] Marking url as dead. Last error: [LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError] Elasticsearch Unreachable: [http://es-prod-rtp1-c2.fmr.com:9200/][Manticore::SocketTimeout] Read timed out {:url=>http://es-prod-rtp1-c2.fmr.com:9200/, :error_message=>"Elasticsearch Unreachable: [http://es-prod-rtp1-c2.fmr.com:9200/][Manticore::SocketTimeout] Read timed out", :error_class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError"}
[2017-06-19T07:03:13,937][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [http://es-prod-rtp1-c2.fmr.com:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}
[2017-06-19T07:03:15,206][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://es-prod-rtp1-c2.fmr.com:9200/, :path=>"/"}
[2017-06-19T07:03:15,210][WARN ][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=>#<URI::HTTP:0x21dfdd7d URL:http://es-prod-rtp1-c2.fmr.com:9200/>}
[2017-06-19T07:03:23,799][WARN ][logstash.outputs.elasticsearch] Marking url as dead. Last error: [LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError] Elasticsearch Unreachable: [http://es-prod-rtp1-c1.fmr.com:9200/][Manticore::SocketTimeout] Read timed out {:url=>http://es-prod-rtp1-c1.fmr.com:9200/, :error_message=>"Elasticsearch Unreachable: [http://es-prod-rtp1-c1.fmr.com:9200/][Manticore::SocketTimeout] Read timed out", :error_class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError"}
[2017-06-19T07:03:23,799][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [http://es-prod-rtp1-c1.fmr.com:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}
[2017-06-19T07:03:25,487][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://es-prod-rtp1-c1.fmr.com:9200/, :path=>"/"}
[2017-06-19T07:03:25,489][WARN ][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=>#<URI::HTTP:0x24203672 URL:http://es-prod-rtp1-c1.fmr.com:9200/>}