我已经在我的服务器上安装了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
}
}
}
}
答案 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"