我试图在我的机器上安装Kibana 4,但出现以下错误。
{"@timestamp":"2015-04-15T06:25:50.688Z","level":"error","node_env":"production","error":"Request error, retrying -- connect ECONNREFUSED"} {"@timestamp":"2015-04-15T06:25:50.693Z","level":"warn","message":"Unable to revive connection: http://0.0.0.0:9200/","node_env":"production"} {"@timestamp":"2015-04-15T06:25:50.693Z","level":"warn","message":"No living connections","node_env":"production"} {"@timestamp":"2015-04-15T06:25:50.698Z","level":"fatal","message":"No Living connections","node_env":"production","error":{"message":"No Living connections","name":"Error","stack":"Error: No Living connections\n at sendReqWithConnection (/home/kibana-4.0.0-rc1-linux-x64/src/node_modules/elasticsearch/src/lib/transport.js:174:15)\n
该ECONNREFUSED告诉你,它不能连接到Elasticsearch。该http://0.0.0.0:9200/告诉你什么它试图连接到。
ECONNREFUSED
http://0.0.0.0:9200/
您需要修改config/kibana.yml和更改elasticsearch_url设置以指向您的集群。如果您在同一框上运行Elasticsearch,则正确值为http://localhost:9200。
config/kibana.yml
elasticsearch_url
http://localhost:9200