一、实验环境
主机名 IP
es 192.168.14.210
kibana 192.168.14.210
logstash 192.168.14.211
kafka 192.168.14.212
Filebeat 192.168.14.213
nginx 192.168.14.213
secure 192.168.14.213
二、安装部署(内容比较多,已经分多个章节)
1、ELK(elasticsearch+logstash+kibana)
具体查看第二、三、四章节
2、Filebeat安装
具体查看第六章节
三、安装kafka
Kafka依赖于Zookeeper;两个都需要java环境
1、官网下载
https://archive.apache.org/dist/zookeeper/
[root@kafka ~]# wget https://archive.apache.org/dist/zookeeper/zookeeper-3.4.13/zookeeper-3.4.13.tar.gz
http://kafka.apache.org/downloads
[root@kafka ~]# wget http://mirror.bit.edu.cn/apache/kafka/2.3.1/kafka_2.12-2.3.1.tgz