ELK7.X搭建(二)Kibana安装与配置

1.下载安装包,官网下载过慢,去国内镜像寻找,解压拷贝

wget https://mirrors.huaweicloud.com/kibana/7.5.1/kibana-7.5.1-linux-x86_64.tar.gz
tar xf kibana-7.5.1-linux-x86_64.tar.gz
mv kibana-7.5.1-linux-x86_64 /usr/local/kibana

2修改kibana配置信息,设置监听端口和IP地址,设置ES的地址

cd /usr/local/kibana
sudo vi kibana.yml

 

修改后的配置文件为

server.port: 5601
server.host: "0.0.0.0"

elasticsearch.hosts: ["http://192.168.65.3:9200"]
elasticsearch.username: "kibana"
elasticsearch.password: "asp_10010"

xpack.security.enabled: true
xpack.reporting.capture.browser.chromium.disableSandbox: true
xpack.encrypted_saved_objects.encryptionKey: "c758d288d68090517d788f027e906b6e"
xpack.security.encryptionKey: "c758d288d68090517d788f027e906b6e"
xpack.reporting.encryptionKey: "c758d288d68090517d788f027e906b6e"

启动服务

/usr/local/kibana/bin/kibana

后台启动

/usr/local/kibana/bin/kibana &

访问https://192.168.65.3:5601/即可

ELK7.X搭建(二)Kibana安装与配置_第1张图片

参考文章一https://www.cnblogs.com/sanduzxcvbnm/p/12046640.html

       文章二https://blog.csdn.net/qq_27639777/article/details/98470844,

       文章三https://www.cnblogs.com/sanduzxcvbnm/p/12677691.html

你可能感兴趣的:(elasticsearch,elasticsearch,kibana)