fluent / fluentd-docs

This repository is deprecated. Go to fluentd-docs-gitbook repository.
49 stars 119 forks source link

in_tail: State the difference in exclude_path and path formats #529

Closed captn3m0 closed 6 years ago

captn3m0 commented 6 years ago

Caused me to write the following:

path ["/var/log/apache2/*.access.log", "/var/log/apache2/access.log"]

Might be worth making it a bit more explicit perhaps?

fujimotos commented 6 years ago

@captn3m0 OK. I have merged your patch.

FWIW, a point worth noting here is that you do not need to use an array notation for exclude_path. This means that the following configuration is perfectly valid:

<source>
  @type tail
  path /var/log/httpd/*
  exclude_path /var/log/httpd/*.gz, /var/log/httpd/*.zip
</source>