下载
官网产品地址
https://www.elastic.co/downloads?elektra=products&storm=main
版本选择跟es版本一致,kibana-6.5.4-darwin-x86_64.tar.gz
配置
kibana.yml
server.port: 5601
server.host: "localhost"
elasticsearch.url: "http://localhost:9200"
kibana.index: ".newkibana"
xpack.security.enabled: false #添加这条,这条是配置kibana的安全机制,暂时关闭。
默认是kibana.index: ".kibana"会报错
Kibana server is not ready yet
启动
./kibana
访问
http://localhost:5601/
如果还显示
Kibana server is not ready yet
那等一会在访问就好了
相关命令
systemctl enable kibana.service
systemctl restart kibana
systemctl status kibana
下一篇文章:Elasticsearch API约定
上一篇文章:Elasticsearch 简单增删改查