filebeat安装和配置

1、安装ilebeat-5.4.0-x86_64.rpm
rpm -ivh filebeat-5.4.0-x86_64.rpm
安装步骤
[root@VM_45_163_centos opt]# rpm -ivh filebeat-5.4.0-x86_64.rpm
warning: filebeat-5.4.0-x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
Preparing… ################################# [100%]
Updating / installing…
1:filebeat-5.4.0-1 ################################# [100%]
[root@VM_45_163_centos opt]# cd /etc/filebeat/
[root@VM_45_163_centos filebeat]# systemctl enable filebeat
Created symlink from /etc/systemd/system/multi-user.target.wants/filebeat.service to /usr/lib/systemd/system/filebeat.service.
[root@VM_45_163_centos filebeat]# systemctl enable filebeat
[root@VM_45_163_centos filebeat]# systemctl start filebeat
[root@VM_45_163_centos filebeat]# ps -ef|grep fileb
root 8139 1 0 10:51 ? 00:00:00 /usr/share/filebeat/bin/filebeat -c /etc/filebeat/filebeat.yml -path.home /usr/share/filebeat

猜你喜欢

转载自blog.csdn.net/qq_31555951/article/details/108119586