output" org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]" type="hidden"/>

logstash啟動報錯 Exception in thread ">output" org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]


部署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屬性,重啟即可!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM