From ca035c6c92c63158fe8452c46b56c1a843141742 Mon Sep 17 00:00:00 2001 From: Qryuu Date: Thu, 16 Jan 2025 15:48:39 +0900 Subject: [PATCH] =?UTF-8?q?The=20logType=20notation=20that=20can=20apply?= =?UTF-8?q?=20=E2=80=9Cpattern=E2=80=9D=20has=20been=20changed=20from=20?= =?UTF-8?q?=E2=80=9Ctail=E2=80=9D=20to=20=E2=80=9Cfile=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The logType notation that can apply “pattern” has been changed from “tail” to “file”. --- .../forward-your-logs-using-infrastructure-agent.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/logs/forward-logs/forward-your-logs-using-infrastructure-agent.mdx b/src/content/docs/logs/forward-logs/forward-your-logs-using-infrastructure-agent.mdx index ad72bf7d6b7..47d808fa7b3 100644 --- a/src/content/docs/logs/forward-logs/forward-your-logs-using-infrastructure-agent.mdx +++ b/src/content/docs/logs/forward-logs/forward-your-logs-using-infrastructure-agent.mdx @@ -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: