kibana 通过 rpm 部署
安装 kibana
yum -y install kibana
重置内置用户 kibana_system
/usr/share/elasticsearch/bin/elasticsearch-reset-password -u kibana_system
This tool will reset the password of the [kibana_system] user to an autogenerated value.
The password will be printed in the console.
Please confirm that you would like to continue [y/N]y
Password for the [kibana_system] user successfully reset.
New value: xxxxx
复制 ca 证书
mkdir -pv /etc/kibana/certs
cp /etc/elasticsearch/certs/ca.crt /etc/kibana/certs
chown -R root:kibana /etc/kibana/certs
查看 kibana 配置文件
egrep -v "^#|^$" /etc/kibana/kibana.yml
server.port: 15601
server.host: "0.0.0.0"
server.publicBaseUrl: "https://192.168.174.100"
elasticsearch.hosts: ["https://192.168.174.100:19200","https://192.168.174.101:19200","https://192.168.174.102:19200"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "xxxxx"
elasticsearch.ssl.certificateAuthorities: [ "/etc/kibana/certs/ca.crt" ]
logging:
appenders:
file:
type: file
fileName: /data1/kibana/logs/kibana.log
layout:
type: json
root:
appenders:
- default
- file
path.data: /data1/kibana/data
pid.file: /run/kibana/kibana.pid
i18n.locale: "zh-CN"
访问 kibana 控制台
http://192.168.174.100:15601/
参考文档
https://www.elastic.co/guide/en/kibana/current/rpm.html
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构