Skip to content

Commit

Permalink
The logType notation that can apply “pattern” has been changed from “…
Browse files Browse the repository at this point in the history
…tail” to “file”.

The logType notation that can apply “pattern” has been changed from “tail” to “file”.
  • Loading branch information
qryuu authored Jan 16, 2025
1 parent 0f63be6 commit ca035c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ Although these configuration parameters aren't required, we still recommend you
id="pattern"
title="pattern"
>
Regular expression for filtering records. Only supported for the `tail`, `systemd`, `syslog`, and `tcp` (only with format `none`) sources.
Regular expression for filtering records. Only supported for the `file`, `systemd`, `syslog`, and `tcp` (only with format `none`) sources.

This field works in a way similar to `grep -E` in Unix systems. For example, for a given file being captured, you can filter for records containing either `WARN` or `ERROR` using:

Expand Down

0 comments on commit ca035c6

Please sign in to comment.