1、查看启动输出: journalctl -u filebeat -f 2、查看后100行日志: 3、测试 filebeat test config && filebeat test output