kibana服务器:172.20.100.122
1、添加yum源
vim /etc/zypp/repos.d/kibana.repo
[kibana-7.x]
name=Kibana repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
2、安装
yum install kibana
3、配置kibana
vim /etc/kibana/kibana.yml
server.port: 5601
server.host: “0.0.0.0”
cluster.name:“my_cluster”
elasticsearch.hosts:[http://172.20.100.122:9200]
4、启动kibana
systemctl start kibana
systemctl enable kibana
5、查看接口
[root@loghost-100-122 ~]# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 27121/nginx: master
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3507/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3720/master
tcp 0 0 0.0.0.0:5601 0.0.0.0: LISTEN 28265/node*
tcp6 0 0 :::9200 ::: LISTEN 28332/java
tcp6 0 0 :::9300 ::: LISTEN 28332/java
tcp6 0 0 :::22 ::: LISTEN 3507/sshd
tcp6 0 0 ::1:25 ::: LISTEN 3720/master
udp 0 0 0.0.0.0:68 0.0.0.0:* 3274/dhclient
udp 0 0 127.0.0.1:323 0.0.0.0:* 3189/chronyd
udp 0 0 127.0.0.1:9001 0.0.0.0:* 1557/filebeat
udp 0 0 127.0.0.1:9002 0.0.0.0:* 1557/filebeat
udp6 0 0 ::1:323 ::: 3189/chronyd
udp6 0 0 :::2055 ::: 1557/filebeat
6、访问
在浏览器中输入http://172.20.100.122:5601