如何在filebeat中提及(配置)多个日志文件夹位置?

时间:2017-02-10 08:43:17

标签: elastic-stack

如何在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, 

1 个答案:

答案 0 :(得分:1)

docs建议列表

- input_type: log

  # Paths that should be crawled and fetched. Glob based paths.
  paths:
    - /LOG1folder/*.log
    - /LOG2folder/*.log