ELK入門系列(04)——Kibana的快速安裝及簡(jiǎn)單使用

1、前言

Kibana是一個(gè)開源的分析和可視化平臺(tái),設(shè)計(jì)用于和Elasticsearch一起工作。

你用Kibana來搜索,查看,并和存儲(chǔ)在Elasticsearch索引中的數(shù)據(jù)進(jìn)行交互。

你可以輕松地執(zhí)行高級(jí)數(shù)據(jù)分析,并且以各種圖標(biāo)、表格和地圖的形式可視化數(shù)據(jù)。

Kibana使得理解大量數(shù)據(jù)變得很容易。它簡(jiǎn)單的、基于瀏覽器的界面使你能夠快速創(chuàng)建和共享動(dòng)態(tài)儀表板,實(shí)時(shí)顯示Elasticsearch查詢的變化。

2、下載安裝

# Kibana is served by a back end server. This setting specifies the port to use.
server.port: 5601

# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
server.host: "0.0.0.0"

# Enables you to specify a path to mount Kibana at if you are running behind a proxy. This only affects
# the URLs generated by Kibana, your proxy is expected to remove the basePath value before forwarding requests
# to Kibana. This setting cannot end in a slash.
#server.basePath: ""

# The maximum payload size in bytes for incoming server requests.
#server.maxPayloadBytes: 1048576

# The Kibana server's name.  This is used for display purposes.
#server.name: "your-hostname"

# The URL of the Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://127.0.0.1:9200"
  • 啟動(dòng)
    [lvfang@test-l27-14-70 bin]$ ./kibana


    1565429591(1).jpg

這里值得注意的是kibana在使用ps查看進(jìn)程的時(shí)候是使用node而不是kibana。當(dāng)然你也可以根據(jù)端口去查

ps -ef | grep node

3、簡(jiǎn)單使用

訪問 http://127.0.0.1:5601 查看kibana


1565429886(1).jpg
  • devtools主要是用于http-json的可視化查詢使用


    image.png
  • management主要用于配置,包括索引創(chuàng)建等等


    image.png
  • discover主要用于便捷查詢


    image.png
4、快速創(chuàng)建elk日志索引步驟
image.png
image.png
image.png
image.png

另外kibana的使用可以參考 https://www.cnblogs.com/cjsblog/p/9476813.html

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容