|NO.Z.00006|——————————|Deployment|——|Hadoop&ElasticSearch集中式日志分析系统.v06|——|Elasticsearch.v06|ElasticSearch-head插件部署.V3|
一、部署kibana服务
### --- 下载kibana版本包
~~~ # 下载kibana服务版本包:使用root用户部署
[root@hadoop02 software]# wget -c https://artifacts.elastic.co/downloads/kibana/kibana-7.3.0-linux-x86_64.tar.gz
### --- 部署kibana服务
~~~ # 解压版本包,并修改目录名称
[root@hadoop02 software]# tar -zxvf kibana-7.3.0-linux-x86_64.tar.gz -C ../servers/es/
[root@hadoop02 ~]# mv /opt/yanqi/servers/es/kibana-7.3.0-linux-x86_64/ /opt/yanqi/servers/es/kibana
### --- 改变kibana目录用户账号
~~~ # 修改kibana目录的用户权限为es
[root@hadoop02 ~]# chown -R es /opt/yanqi/servers/es/kibana/
~~~ # 授予kibana目录777权限
[root@hadoop02 ~]# chmod -R 777 /opt/yanqi/servers/es/kibana/
二、kibana配置文件参数修改
### --- 修改kibana配置文件参数
[root@hadoop02 ~]# vim /opt/yanqi/servers/es/kibana/config/kibana.yml
~~~ 第2行:修改端口
server.port: 5601
~~~ 第7行:访问ip,elasticsearch服务器ip
server.host: "hadoop02"
~~~ 第28行:所有查询的Elasticsearch实例的url。
# The URLs of the Elasticsearch instances to use for all your queries.
elasticsearch.hosts: ["http://hadoop01:9200","http://hadoop02:9200","http://hadoop03:9200"]
三、启动kibana服务
### --- 配置完成启动:
### --- 通过web-UI访问kibana服务:http://hadoop02:5601
~~~ # 使用es用户启动kibana服务
[es@hadoop02 ~]$ /opt/yanqi/servers/es/kibana/bin/kibana
~~~ 输出参数:没有error说明启动成功:警告可以忽略不计
[info][listening] Server running at http://hadoop02:5601
[info][server][Kibana][http] http server running
[info][status][plugin:spaces@7.3.0] Status changed from yellow to green - Ready

四、kidbana使用页面
### --- 选择左侧的DevTools菜单,即可进入控制台页面:
### --- 在页面右侧,我们就可以输入请求,访问Elasticsearch了。
~~~ 扩展kibana dev tools快捷键:
~~~ ctrl+enter 提交请求;ctrl+i 自动缩进


Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
——W.S.Landor
分类:
dov006-elk
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」