elasticsearch 主机无法访问启动日志存储时出错
启动日志存储时出错:elasticsearch 主机无法访问启动日志存储时出错,elasticsearch,centos,logstash,elastic-stack,filebeat,elasticsearch,Centos,Logstash,Elastic Stack,Filebeat,启动日志存储时出错: elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://localhost:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>
elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error.
{:url=>"http://localhost:9200/",
:error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError,
:error=>"Elasticsearch Unreachable: [http://localhost:9200/][Manticore::SocketException]
Connection refused (Connection refused)"}
我通过以下方式开始日志存储:
sudo ./logstash -f /etc/logstash/conf.d/beat.conf --config.reload.automatic
此外,我还通过以下方式测试了配置:
sudo ./logstash -f /etc/logstash/conf.d/beat.conf --config.test_and_exit
测试返回confok
如何解决这个错误?请帮忙 已解决。我的elasticsearch服务停止了。谢谢问题解决了。我的elasticsearch服务停止了。谢谢