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

posted @   小吉猫  阅读(9)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
点击右上角即可分享
微信分享提示