Elstaicsearch:存储和搜索 logstash:收集 kibana:展示.专门为ES设计的展示平台
环境准备
IP 主机名 操作系统 192.168.56.11 linux-node1 centos7 192.168.56.12 linux-node2 centos7
[root@linux-node1 ~]# yum install -y java [root@linux-node1 ~]# java -version openjdk version "1.8.0_91" OpenJDK Runtime Environment (build 1.8.0_91-b14) OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
[root@linux-node2 ~]# rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch [root@linux-node2 ~]# cat /etc/yum.repos.d/kibana.repo [root@test ~]# vim /etc/yum.repos.d/kibana.repo [kibana-4.5] name=Kibana repository for 4.5.x packages baseurl=http://packages.elastic.co/kibana/4.5/centos gpgcheck=1 gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch enabled=1
配置kibana,只需配置连接到es即可
进入kibana安装目录
[root@linux-node1 /opt/kibana/config]# grep ‘^[a-Z]‘ kibana.yml server.port: 5601 server.host: "0.0.0.0" elasticsearch.url: "http://192.168.56.11:9200" kibana.index: ".kibana" [root@linux-node1 /opt/kibana/config]#
启动kibana
[root@linux-node1 /opt/kibana/config]# /etc/init.d/kibana start kibana started [root@linux-node1 /opt/kibana/config]# [root@linux-node1 /opt/kibana/config]# ps -ef|grep kibana kibana 4403 1 35 13:05 pts/1 00:00:01 /opt/kibana/bin/../node/bin/node /opt/kibana/bin/../src/cli root 4438 4096 0 13:05 pts/1 00:00:00 grep --color=auto kibana [root@linux-node1 /opt/kibana/config]#
本文出自 “JackyWang” 博客,请务必保留此出处http://jackyxin.blog.51cto.com/1976631/1852120
原文地址:http://jackyxin.blog.51cto.com/1976631/1852120