标签:io os ar java for sp on cti log
部署ELK时候,logstash启动报错
Sending logstash logs to /var/log/logstash.log.
Exception in thread ">output" org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]
at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$3.onTimeout(org/elasticsearch/action/support/master/TransportMasterNodeOperationAction.java:180)
at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(org/elasticsearch/cluster/service/InternalClusterService.java:492)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java/util/concurrent/ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java/util/concurrent/ThreadPoolExecutor.java:615)
at java.lang.Thread.run(java/lang/Thread.java:722)
检查EA配置,发现系修改了Cluster名字所致,修改Logstash Output属性:
elasticsearch {
host => "127.0.0.1"
port => 9300
cluster => "us-elasticsearch"
}
增加cluster属性,重启即可!
标签:io os ar java for sp on cti log
原文地址:http://www.cnblogs.com/jincheng0923/p/4015228.html