ELK入门系列(04)——Kibana的快速安装及简单使用

1、前言

Kibana是一个开源的分析和可视化平台,设计用于和Elasticsearch一起工作。

你用Kibana来搜索,查看,并和存储在Elasticsearch索引中的数据进行交互。

你可以轻松地执行高级数据分析,并且以各种图标、表格和地图的形式可视化数据。

Kibana使得理解大量数据变得很容易。它简单的、基于浏览器的界面使你能够快速创建和共享动态仪表板,实时显示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"
  • 启动
    [lvfang@test-l27-14-70 bin]$ ./kibana


    1565429591(1).jpg

这里值得注意的是kibana在使用ps查看进程的时候是使用node而不是kibana。当然你也可以根据端口去查

ps -ef | grep node

3、简单使用

访问 http://127.0.0.1:5601 查看kibana


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


    image.png
  • management主要用于配置,包括索引创建等等


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


    image.png
4、快速创建elk日志索引步骤
image.png
image.png
image.png
image.png

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

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容