1.首先下载Kibana
1 | https://www.elastic.co/downloads |
2.解压
1 | tar -zxvf kibana-6.2.1-linux-x86_64.tar.gz -C ~/software/ |
3.修改配置,在config文件夹下面修改kibana.yml
1 | #配置本机ip |
4.启动
1 | ./bin/kibana |
5.访问web
1 | http://localhost:5601/app/kibana |
6.在Manager里面添加index,demo中的index名称叫做es

添加之后

7.在discover中可以查看数据,里面还会对top数据进行统计

8.在Dev tool中可以进行查询

kibana新建index pattern的时候报403解决方法
1 | curl -XPUT -H 'Content-Type: application/json' http://localhost:9200/_settings -d '{"index": {"blocks": {"read_only_allow_delete": "false"}}}' |