To fetch all files from a predefined level of subdirectories, the following pattern can be used: /var/log/*/*.log
不错哦~
参考:
https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration.html
本文介绍了一种使用特定模式来抓取预定义子目录级别下所有日志文件的方法。例如,通过使用 /var/log/*/*.log 这一模式可以抓取位于 /var/log 目录下一级子目录中的所有 .log 文件。
To fetch all files from a predefined level of subdirectories, the following pattern can be used: /var/log/*/*.log
不错哦~
参考:
https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration.html
1320

被折叠的 条评论
为什么被折叠?