[logstash.outputs.elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://xxx.xxx.xxx.xxx:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://xxx.xxx.xxx.xxx:9200/][Manticore::ConnectTimeout] connect timed out"}
logstash报connect timed out,居然是阿里云安全组没有配置9200端口开放访问,阿里云上安全组配置一下就可以
文章描述了Logstash在尝试恢复与Elasticsearch实例的连接时遇到错误,具体表现为HTTP连接超时。原因是阿里云的安全组未配置9200端口的开放访问。解决方案是正确配置阿里云安全组,允许9200端口的入站流量。
1715





