需要升级您的Elasticsearch版本太旧了。 Kibana要求Elasticsearch 0.90.9或以上

时间:2014-12-05 05:59:10

标签: elasticsearch kibana

我已经在我的服务器上安装了kibana和弹性搜索但是它的抛出错误

Upgrade Required Your version of Elasticsearch is too old. Kibana requires Elasticsearch 0.90.9 or above.

但是我得到的结果是

的输出
curl -XGET localhost:9200/_nodes/_all/process?pretty

{
  "ok" : true,
  "cluster_name" : "elasticsearch",
  "nodes" : {
    "YZdakphGSruLIQUz332paA" : {
      "name" : "Grandmaster",
      "transport_address" : "inet[/192.168.0.36:9300]",
      "hostname" : "arun-HCL-ME-Laptop",
      "version" : "0.90.9",
      "http_address" : "inet[/192.168.0.36:9200]",
      "process" : {
        "refresh_interval" : 1000,
        "id" : 6398,
        "max_file_descriptors" : 65535,
        "mlockall" : false
      }
    }
  }
}

3 个答案:

答案 0 :(得分:2)

我需要通过在elasticsearch.yml中添加elasticsearch-1.4以下参数来做更多的事情

http.cors.allow-origin: "*"
http.cors.enabled: true

请参阅:Kibana returns "Connection Failed"https://github.com/elastic/logstash/issues/2056

祝你好运!

答案 1 :(得分:1)

发生此错误是因为您将Elasticsearch服务器的URL配置为不正确。它应该参考kibana3 / config.js文件中的Elastichsearch主机

elasticsearch: "http://192.168.0.36:80", // your IP

如果您使用域浏览器kibana,请将IP更改为域。

elasticsearch: "http://domain:80"

答案 2 :(得分:0)

这是因为在kibana config.js文件中提到的端口是80 然后我把它改成了。

elasticsearch: "http://"+window.location.hostname+":9200"