Skip to content

Commit a6b3b2d

Browse files
committed
input: tail: path: mention double asterisk globbing
Previous versions required the use the tail_ex plugin, newer versions already have this included by default. Signed-off-by: Niko Wenselowski <niko.wenselowski@checkmk.com>
1 parent 14824a0 commit a6b3b2d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

input/tail.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ path /path/to/a/*,/path/to/b/c.log
9595

9696
If the date is `20140401`, Fluentd starts to watch the files in `/path/to/2014/04/01` directory. See also `read_from_head` parameter.
9797

98+
Using `**` for path globbing is supported.
99+
100+
```text
101+
path /path/to/**/some.log
102+
```
103+
98104
By default, You should not use `*` with log rotation because it may cause the log duplication. To avoid log duplication, you need to set `follow_inodes true` in the configuration.
99105

100106
If you want to use other glob patterns such as `[]` and `?`, you need to set up `glob_policy extended` as described in the `glob_policy` section.

0 commit comments

Comments
 (0)