From 6b6a3b2d6f689c9e18b678d489c6860d28b29ec3 Mon Sep 17 00:00:00 2001 From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Tue, 26 Nov 2024 14:18:42 -0700 Subject: [PATCH] fix: Update filelog receiver operators in kubernetes docs (#5697) --- .../docs/kubernetes/collector/components.md | 72 ++----------------- 1 file changed, 4 insertions(+), 68 deletions(-) diff --git a/content/en/docs/kubernetes/collector/components.md b/content/en/docs/kubernetes/collector/components.md index 51bd7749bd68..59384c698ffd 100644 --- a/content/en/docs/kubernetes/collector/components.md +++ b/content/en/docs/kubernetes/collector/components.md @@ -283,77 +283,13 @@ filelog: exclude: # Exclude logs from all containers named otel-collector - /var/log/pods/*/otel-collector/*.log - start_at: beginning + start_at: end include_file_path: true include_file_name: false operators: - # Find out which format is used by kubernetes - - type: router - id: get-format - routes: - - output: parser-docker - expr: 'body matches "^\\{"' - - output: parser-crio - expr: 'body matches "^[^ Z]+ "' - - output: parser-containerd - expr: 'body matches "^[^ Z]+Z"' - # Parse CRI-O format - - type: regex_parser - id: parser-crio - regex: - '^(?P