欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 文旅 > 游戏 > 【Kibana01】企业级日志分析系统ELK之Kibana的安装与介绍

【Kibana01】企业级日志分析系统ELK之Kibana的安装与介绍

2025/5/12 4:50:42 来源:https://blog.csdn.net/weixin_74814027/article/details/144688691  浏览:    关键词:【Kibana01】企业级日志分析系统ELK之Kibana的安装与介绍

Kibana 图形显示

Kibana 介绍

Kibana 是一款开源的数据分析和可视化平台,它是 Elastic Stack 成员之一,设计用于和 Elasticsearch  协作,可以使用 Kibana 对 Elasticsearch 索引中的数据进行搜索、查看、交互操作,您可以很方便的利用 图表、表格及地图对数据进行多元化的分析和呈现。

Kibana 可以使大数据通俗易懂。基于浏览器的界面便于您快速创建和分享动态数据仪表板来追踪  Elasticsearch 的实时数据变化。

Kibana 基于 TypeScript  语言开发

Kibana 官方下载链接:

https://www.elastic.co/cn/downloads/kibana
https://www.elastic.co/cn/downloads/past-releases#kibana

镜像网站下载链接:

Index of /elasticstack/7.x/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror 

官方demo

Elastic Demosicon-default.png?t=O83Ahttps://demo.elastic.co/ 

安装并配置 Kibana

可以通过包或者二进制的方式进行安装,可以安装在独立服务器,或者也可以和elasticsearch的主机安装在 一起

注意: Kibana的版本要和 Elasticsearch 相同的版本,否则可能会出错

官方说明:

GitHub - elastic/kibana: Your window into the Elastic StackYour window into the Elastic Stack. Contribute to elastic/kibana development by creating an account on GitHub.icon-default.png?t=O83Ahttps://github.com/elastic/kibana

下载安装

基于性能原因,建议将Kibana安装到独立节点上,而非和ES节点复用

下载链接

https://www.elastic.co/cn/downloads/kibana
https://mirrors.tuna.tsinghua.edu.cn/elasticstack/

Ubuntu 安装 

[root@ubuntu2204 ~]#https://artifacts.elastic.co/downloads/kibana/kibana-8.6.1-amd64.deb
[root@ubuntu2204 ~]#wget  
https://mirrors.tuna.tsinghua.edu.cn/elasticstack/8.x/apt/pool/main/k/kibana/kibana-8.6.1-amd64.deb
[root@es-node1 ~]#wget 
https://mirrors.tuna.tsinghua.edu.cn/elasticstack/7.x/apt/pool/main/k/kibana/kibana-7.6.2-amd64.deb
[root@es-node1 ~]#dpkg -i kibana-7.6.2-amd64.deb 

CentOS 安装
[root@es-node1 ~]#wget https://mirrors.tuna.tsinghua.edu.cn/elasticstack/7.x/yum/7.6.2/kibana-7.6.2-x86_64.rpm
[root@es-node1 ~]#yum localinstall kibana-7.6.2-x86_64.rpm

修改配置 

[root@es-node1 ~]#vim  /etc/kibana/kibana.yml 
[root@es-node1 ~]#grep  "^[a-Z]" /etc/kibana/kibana.yml 
server.port: 5601  #监听端口,此为默认值server.host: "0.0.0.0" #修改此行的监听地址,默认为localhost,即:127.0.0.1:5601#修改此行,指向ES任意服务器地址或多个节点地址实现容错,默认为localhost
elasticsearch.hosts: 
["http://10.0.0.101:9200","http://10.0.0.102:9200","http://10.0.0.103:9200"] 
i18n.locale: "zh-CN"   #修改此行,使用"zh-CN"显示中文界面,默认英文#8.X版本新添加配置,默认被注释,会显示下面提示
server.publicBaseUrl: "http://kibana.chen.org"

 

启动 Kibana 服务并验证

#默认没有开机自动启动,需要自行设置
[root@kibana ~]#systemctl enable --now kibana
[root@kibana ~]#systemctl status kibana
[root@kibana ~]#ss -ntl |grep 5601
LISTEN 0      511          0.0.0.0:5601      0.0.0.0:*  #默认以kibana用户启动服务
[root@kibana ~]#id kibana 
uid=114(kibana) gid=119(kibana) groups=119(kibana)

使用 Kibana

查看和操作Web界面

#浏览器访问下面链接
http://kabana-server:5601

 

 

 

 

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词