系统:centos
install filebeat filebeat版本: filebeat-5.1.2-x86_64.rpm 下载链接: yum -y install /home/centos/install/filebeat-5.1.2-x86_64.rpm systemctl enable filebeat
配置目录: /etc/filebeat bin目录: /usr/share/filebeat/bin 配置文件: /etc/filebeat/filebeat.yml log目录: /var/log/filebeat/
配置使用阿里云kafka,测试... 启动filebeat:sudo service filebeat start 重启:sudo service filebeat restart 停止:systemctl stop filebeat
清除filebeat数据: sudo service filebeat stop sudo rm /var/lib/filebeat/registry sudo service filebeat start