我想乘http://IP:80去基巴纳。然而,当我访问pageI时,获得以下错误:
升级所需您的版本的Elasticsearch太老了。Kibana要求搜索0.90.9或更高。
和
错误无法到达nodes。如果您使用的是代理,请确保其配置正确。
我一直在网上查这些问题,我把这些线路都收录了,但没有成功.
http.cors.enabled: true
http.cors.allow-origin: http://localhost:80我的Elasticsearch版本实际上是0.90.9。
我能做什么?请帮帮我
发布于 2015-07-22 01:16:18
根据我的场景,Logstash默认使用节点协议。如果您应用命令:
curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'如果要获得"number_of_nodes" : 2,,则意味着使用节点协议进行日志存储,并成为集群.so的一部分,将其视为elasticsearch的旧版本中的另一个节点。解决方案:将protocol => transport放在logstash文件中,以便传送到ES。喜欢,
input { }
output {
elasticsearch {
action => ... # string (optional), default: "index"
embedded_http_port => ... # string (optional), default: "9200-9300"
index => ... # string (optional), default: "logstash-%{+YYYY.MM.dd}"
node_name => ... # string (optional)
port => ... # string (optional)
protocol => ... # string, one of ["node", "transport", "http"]
}如果您想访问端口80,则必须执行代理操作。否则,基巴纳默认收听5601。如果您仍然面临相同的问题,那么使用最新版本的logstash + kibana +elasticsearch。
发布于 2015-07-21 17:51:21
下载高级版本的elasticsearch,因为您使用的版本与Kibana不兼容。尝试使用最新的elasticsearch版本。
https://stackoverflow.com/questions/31541734
复制相似问题