一陽指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 後臺啓動 停止

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