一阳指Kibana——Kibana安装及简单实用

转载请注明出处:http://blog.csdn.net/dongdong9223/article/details/89214284
本文出自【我是干勾鱼的博客

Ingredients:

1 下载

 wget -c https://artifacts.elastic.co/downloads/kibana/kibana-6.6.2-linux-x86_64.tar.gz

2 解压缩

tar -zxvf kibana-6.6.2-linux-x86_64.tar.gz

3 配置

编辑配置文件:

vi config/kibana.yml

加入内容:

server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: "http://localhost:9200"
kibana.index: ".newkibana"
xpack.security.enabled: false

4 启动

4.1 前台启动:

./bin/kibana

4.2 后台启动:

nohup ./bin/kibana &

这时候启动的是守护进程,当然也可以不加nohup,这样终端还是会监控输出。

4.3 访问

可以使用命令查看能否访问:

curl http://localhost:5601

如果kibana.yml文件配置不正确可能会报错:

# curl http://localhost:5601
Kibana server is not ready yet

如果是已经正确配置依然报这个错的话,可能是还没有启动完成,稍等一会再访问就可以了。

页面如下:

在这里插入图片描述

5 日志监控

如果是后台启动,则日志被保存到了nohup.out中,日志监控如下:

tail -f nohup.out

6 参考

Elasticsearch - Kibana安装教程

flink-streaming-demo

kibana 后台启动 停止

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章