filebeat

filebeat modules list //查看模块

./filebeat modules enable nginx //开启模块

cd /usr/local/filebeat6.8.1/modules.d
vim nginx.yml 配置路径 ,注意语法:后面要加入一个空格

./filebeat setup启动

./filebeat -e

 

 

原文地址:https://www.cnblogs.com/agang-php/p/11182446.html