Skip to content

Commit 8d1ea3b

Browse files
fix: resolve examples for K8S filter
Signed-off-by: Patrick Stephens <pat@telemetryforge.io>
1 parent d5268dc commit 8d1ea3b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

pipeline/filters/kubernetes.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,11 @@ pipeline:
360360
{% tab title="fluent-bit.conf" %}
361361

362362
```text
363-
[PARSER]
364-
Name custom-tag
365-
Format regex
366-
Regex ^(?<namespace_name>[^_]+)\.(?<pod_name>[a-z0-9](?:[-a-z0-9]*[a-z0-9])?(?:\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)\.(?<container_name>.+)\.(?<container_id>[a-z0-9]{64})
363+
# Ensure this is added to parsers_file loaded in the SERVICE section
364+
# [PARSER]
365+
# Name custom-tag
366+
# Format regex
367+
# Regex ^(?<namespace_name>[^_]+)\.(?<pod_name>[a-z0-9](?:[-a-z0-9]*[a-z0-9])?(?:\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)\.(?<container_name>.+)\.(?<container_id>[a-z0-9]{64})
367368
368369
[INPUT]
369370
Name tail
@@ -488,7 +489,7 @@ pipeline:
488489
parser: docker
489490
docker_mode: on
490491
mem_buf_limit: 50MB
491-
skip_login_lines: on
492+
skip_long_lines: on
492493
refresh_interval: 10
493494
494495
filters:

0 commit comments

Comments
 (0)