一、实验环境
主机名 IP
es 192.168.14.210
kibana 192.168.14.210
Filebeat 192.168.14.213
nginx 192.168.14.213
Filebeat - -> Elasticsearch - - > Kibana架构
二、安装部署
1、Kibana查看第二章节
2、Elasticsearch查看第三章节
三、安装Filebeat
1、官网下载Filebeat二进制包
https://www.elastic.co/cn/downloads/past-releases#filebeat
2、解压二进制包
[root@filebeat ~]# systemctl stop firewalld
[root@filebeat ~]# systemctl disable firewalld
[root@filebeat ~]# tar -zxvf filebeat-7.5.0-linux-x86_64.tar.gz
[root@filebeat ~]# mv filebeat-7.5.0-linux-x86_64 /usr/local/filebeat-7.5.0
3、添加环境变量
[root@filebeat ~]# vi /etc/profile
export PATH=$PATH:/usr/local/filebeat-7.5.0
4、修改Filebeat配置文件