我在Ubuntu 16.04( VM Instance )中安装并配置了kibana。当我运行bin文件时,kibana没有启动。日志文件具有如下错误消息。 “类型”: “日志”, “@时间戳”: “2017-09-08T11:21:53Z”, “标签”: “状态”, “插件:kibana@5.2.2”, “信息”],” pid“:7300,”state“:”green“,”message“:”状态从未初始化变为绿色 -
Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-09-08T11:21:53Z","tags":["status","plugin:elasticsearch@5.2.2","info"],"pid":7300,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-09-08T11:21:53Z","tags":["status","plugin:console@5.2.2","info"],"pid":7300,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-09-08T11:21:53Z","tags":["status","plugin:elasticsearch@5.2.2","error"],"pid":7300,"state":"red","message":"Status changed from yellow to red - This version of Kibana requires Elasticsearch v5.2.2 on all nodes. I found the following incompatible nodes in your cluster: v2.3.1 @ 10.128.0.2:9200 (10.128.0.2)","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}
{"type":"log","@timestamp":"2017-09-08T11:21:53Z","tags":["status","plugin:timelion@5.2.2","info"],"pid":7300,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-09-08T11:21:53Z","tags":["listening","info"],"pid":7300,"message":"Server running at http://10.128.0.2:5601"}
{"type":"log","@timestamp":"2017-09-08T11:21:53Z","tags":["status","ui settings","error"],"pid":7300,"state":"red","message":"Status changed from uninitialized to red - Elasticsearch plugin is red","prevState":"uninitialized","prevMsg":"uninitialized"}
可以,任何人都可以帮助我摆脱这个问题。
答案 0 :(得分:2)
问题在日志中说明:
此版本的Kibana在所有节点上都需要Elasticsearch v5.2.2。我在您的群集中发现了以下不兼容的节点:v2.3.1
这意味着您已安装Kibana 5.2.2但您的ES服务器版本为2.3.1。您需要安装ES 5.2.2才能实现此目的。