试试搜索一下吧

es连接不上kibana

Elasticsearch | 作者 shunconf | 发布于2017年08月15日 | 阅读数:11227

各位大神救命啊!采用rpm安装 的,采用elk5.5.x版本。系统环境为cnetos7 _x86_x64
之前elk服务是可以正常访问的,但是一关机后就不行了。配置文件是没问题的
当然昨天我装了x-pack,但是没配置ES的配置文件(是在es服务装x-pack的)
当然笔记我也上传到我的笔记网站上:http://shunconf.coding.me/2017 ... lk-1/
麻烦各位大神指导指导!谢谢!

1.png


2.png


3.png


4.png


5.png


6.png

 
已邀请:

Aalizhen

赞同来自:

你要在配置文件加一个函数:
 
http.host: 192.168.***
http.cors.enabled: true
http.cors.allow-origin: "*"
 
 
 
 
IP的话填写你本地的IP试一下呢?
 

xinfanwang

赞同来自:

kibana.yml里添加相关的auth定义没?
elasticsearch.username: "user"
elasticsearch.password: "pass"
 
默认是:elastic/changeme
 

xinfanwang

赞同来自:

elasticsearch.username: "elastic"
elasticsearch.password: "changeme"
 
用curl elastic:changeme@localhost:9200 能连上吗?kibana不需要设置cors的。
不行的话关掉xpack的相关设置。
# ---------------------------------- x-pack -----------------------------------
xpack.graph.enabled: false
xpack.ml.enabled: true
xpack.monitoring.enabled: true
xpack.reporting.enabled: true
xpack.security.enabled: false
xpack.watcher.enabled: true
 

 

shunconf - 95后,it男

赞同来自:

你好,非常感谢你,我今天下午早已经关掉x-pack了。但是怎么创建一个可用的索引的文件?

kkgace

赞同来自:

如果你是使用API创建索引,你至少需要先映射你的索引mapping,才能够使用这个索引;如果你是使用beat或者logstash来创建索引,相关的映射配置就是在客户端配置,你可以阅读官方英文入门文档;

zhangyufu - 学习使我快乐

赞同来自:

关闭x-pack安全控件,在elasticsearch.yml中xpack.security.enabled: false 

要回复问题请先登录注册