安装 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
标签:部署,system,192.168,etc,elasticsearch,kibana,certs,rpm From: https://www.cnblogs.com/wangguishe/p/18684165