You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document double asterisk globbing for path on tail input (#571)
* 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 <[email protected]>
* Remove extra whitespace
Signed-off-by: Niko Wenselowski <[email protected]>
---------
Signed-off-by: Niko Wenselowski <[email protected]>
If the date is `20140401`, Fluentd starts to watch the files in `/path/to/2014/04/01` directory. See also `read_from_head` parameter.
97
97
98
+
Using `**` for path globbing is supported.
99
+
100
+
```text
101
+
path /path/to/**/some.log
102
+
```
103
+
98
104
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.
99
105
100
106
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.
@@ -423,7 +429,7 @@ Refer to the [Logging](../deployment/logging.md) for more details.
423
429
424
430
The `in_tail` plugin can assign each log file to a group, based on user defined rules. The `limit` parameter controls the total number of lines collected for a group within a `rate_period` time interval.
Specifies the regular expression for extracting metadata (namespace, podname) from log file path. Default value of the pattern regexp extracts information about `namespace`, `podname`, `docker_id`, `container` of the log (K8s specific).
465
+
Specifies the regular expression for extracting metadata (namespace, podname) from log file path. Default value of the pattern regexp extracts information about `namespace`, `podname`, `docker_id`, `container` of the log (K8s specific).
460
466
461
-
You can also add custom named captures in `pattern` for custom grouping of log files. For example,
467
+
You can also add custom named captures in `pattern` for custom grouping of log files. For example,
If this article is incorrect or outdated, or omits critical information, please [let us know](https://github.com/fluent/fluentd-docs-gitbook/issues?state=open). [Fluentd](http://www.fluentd.org/) is an open-source project under [Cloud Native Computing Foundation \(CNCF\)](https://cncf.io/). All components are available under the Apache 2 License.
561
567
562
-
### What happens when a file can be assigned to more than one group?
568
+
### What happens when a file can be assigned to more than one group?
0 commit comments