1、kibana簡介
Kibana是一個開源的分析與可視化平臺,設計出來用于和Elasticsearch一起使用的。你可以用kibana搜索、查看、交互存放在Elasticsearch索引里的數據,使用各種不同的圖表、表格、地圖等kibana能夠很輕易地展示高級數據分析與可視化。
Kibana讓我們理解大量數據變得很容易。它簡單、基于瀏覽器的接口使你能快速創建和分享實時展現Elasticsearch查詢變化的動態儀表盤。安裝Kibana非常快,你可以在幾分鐘之內安裝和開始探索你的Elasticsearch索引數據,不需要寫任何代碼,沒有其他基礎軟件依賴。
本文只介紹Kibana如何安裝使用,更多關于Kibana信息請看官網:?
https://www.elastic.co/guide/en/kibana/index.html
2、kibana安裝
2.1 下載
下載地址:https://www.elastic.co/downloads/kibana
備注:如果使用ElasticSearch-2.3.x,可以下載kinaba-4.5.x。linux下命令下載:
curl -L -O https://download.elastic.co/kibana/kibana/kibana-4.5.1-linux-x64.tar.gz
1
2.2 解壓
解壓:tar zxvf kibana-4.5.1-linux-x64.tar.gz
2.3 配置
到config/kibana.yml目錄下,般修改標注的這三個參數即可。
server.port: 5601
?
# The host to bind the server to.
server.host: ""
?
# If you are running kibana behind a proxy, and want to mount it at a path,
# specify that path here. The basePath can't end in a slash.
# server.basePath: ""
?
# The Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://" ?#這里是elasticsearch的訪問地址
注意:
編輯配置文件在這里/opt/kibana/config/kibana.yml?就修改下面幾項就行
#######################################################################################################
server.port: 5601 ??端口
server.host: "0.0.0.0" ??監聽
elasticsearch.url: "http://192.168.48.131:9200" elasticsearch地址
######################################################################################################
2.4 啟動
到bin目錄下,啟動即可。
./kibana ?//不能關閉終端
?
nohup ?./kibana > /nohub.out & ?//可關閉終端,在nohup.out中查看log
2.5 訪問
在瀏覽器中訪問:http://xxxx:5601/
---------------------?
作者:z_enders?
來源:CSDN?
原文:https://blog.csdn.net/zhaoshiwei188/article/details/79214522?
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!