如何在filebeat.yml配置文件中提及多个文件夹位置。 我的意思是:
- input_type: log
# Paths that should be crawled and fetched. Glob based paths.
paths:
- D:/LOG1folder/*.log
如何在同一个配置文件中添加另一个日志文件夹路径。我想添加多个日志文件夹。
例如:
- input_type: log
# Paths that should be crawled and fetched. Glob based paths.
paths:
- /LOG1folder/*.log, /LOG2folder/*.log,
答案 0 :(得分:1)
docs建议列表
- input_type: log
# Paths that should be crawled and fetched. Glob based paths.
paths:
- /LOG1folder/*.log
- /LOG2folder/*.log