filebeat主要是,来收集客户端日志,并把收集日志发送到logstash进行日志分析,在让kebana做分析
[root@elk-1 ~]# rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
[root@jenkins-master ~]# vim /etc/yum.repos.d/filebeat.repo [root@jenkins-master ~]# cat /etc/yum.repos.d/filebeat.repo [elastic-7.x] name=Elastic 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
[root@elk-1 ~]# yum install -y filebeat
[root@elk-1 ~]#systemctl start filebeat
[root@elk-1 ~]#systemctl enable filebeat