栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

三、elasticsearch8集群加kibana可视化

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

三、elasticsearch8集群加kibana可视化

环境

新加一个节点部署kibana可视化

10.4.2.111  centos7   2C4G

yum源
​
~]#rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

~]#/etc/yum.repos.d/elasticsearch.repo
[elasticsearch-8.x]
name=Elastic repository for 8.x packages
baseurl=https://artifacts.elastic.co/packages/8.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md

​

安装

[root@ly-elasticsearch-secure-kibana kibana]# yum -y install kibana

Installed:
kibana.x86_64 0:8.2.2-1
配置配置文件
编辑配置文件,只对接10.101.203.109

# cp kibana.yml kibana.yml-old8

]# vim kibana.yml



server.port: 5601



server.host: "0.0.0.0"




server.name: "secure-kibana"      # kibana名称



elasticsearch.hosts: ["http://10.4.2.109:9200"]      # 连接es的信息
elasticsearch.username: "kibana_system"      # 连接es的信息
elasticsearch.password: "密码"      # 连接es的信息





logging:

appenders:

file:

type: file

fileName: /var/log/kibana/kibana.log

layout:

type: json

root:

appenders:

- default

- file




pid.file: /run/kibana/kibana.pid







i18n.locale: "zh-CN"    # 修改中文





修改用户密码,因为新版本kibana不支持直接使用elastic用户

~]# /usr/share/elasticsearch/bin/elasticsearch-reset-password -u kibana_system -i

This tool will reset the password of the [kibana_system] user.

You will be prompted to enter the password.

Please confirm that you would like to continue [y/N]y





Enter password for [kibana_system]:

Re-enter password for [kibana_system]:

Password for the [kibana_system] user successfully reset.

[root@ly-elasticsearch-secure107 ~]#

重启kibana

systemctl restart kibana

前端访问

http://10.4.2.111:5601


 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/974038.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号