集群2节点,另部署了一台机器上部署了3个Logstash实例,使用大概30个input-jdbc插件同步数据库数据。时常出现以下错误,然后Logstash停止写入,重启Logstas恢复
[2019-02-20T14:15:00,819][WARN ][logstash.outputs.elasticsearch] Marking url as dead. Last error: [LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError] Elasticsearch Unreachable: [http://10.46.68.179:9200/][Manticore::SocketTimeout] Read timed out {:url=>http://10.46.68.179:9200/, :error_message=>"Elasticsearch Unreachable: [http://10.46.68.179:9200/][Manticore::SocketTimeout] Read timed out", :error_class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError"}
[2019-02-20T14:15:00,829][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://10.46.68.179:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}
[2019-02-20T14:15:00,866][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://10.46.68.179:9200/, :path=>"/"}
[2019-02-20T14:15:00,867][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://10.46.68.179:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}
2 个回复
tacsklet - 公司有用到es
赞同来自:
zqc0512 - andy zhou
赞同来自: