Skip to content

Commit

Permalink
in_tail: Apply the changes
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
  • Loading branch information
cosmo0920 committed Mar 25, 2024
1 parent b10c314 commit 2bfbc1a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions input/tail.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ If the date is `20140401`, Fluentd starts to watch the files in `/path/to/2014/0

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.

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

### `path_timezone`

Expand All @@ -115,14 +115,15 @@ path_timezone "+00"

For timezone format, see [Timezone Section](../configuration/format-section.md#time-parameters).

### `use_extended_glob`
### `enable_glob`

| type | default | version |
| :--- | :--- | :--- |
| bool | false | 1.17.0 |
| enum | with_wildcards | 1.17.0 |

This parameter permits to extend glob patterns on `path` parameter.
When turning on, users can use `[]` and `?` in glob patterns.
This parameter permits to extend glob patterns on `path` and `exclude_path` parameters.
When specifying `extended`, users can use `[]` and `?` in glob patterns.
Also, when specifying `no`, the glob patterns are disabled.

### `exclude_path`

Expand Down

0 comments on commit 2bfbc1a

Please sign in to comment.