fluent-operator icon indicating copy to clipboard operation
fluent-operator copied to clipboard

bug: Unable to extract namespace from Kuberenetes filter

Open Karthika-Pingali opened this issue 1 year ago • 2 comments

Describe the issue

To enhance the logs we have tried the kubernetes filter and set the useKubelet as true . But we are getting the kubelet upstream error. Even tried with latest version but it the same issue. image

Is there a way where we can get extract the namespace and pod name apart from the custom regex expressions??

To Reproduce

We have tried the kubernetes filter and set the useKubelet as true . But we are getting the kubelet upstream error.

Expected behavior

It needs to extract the namespace and pd name etc.,

Your Environment

- Fluent Operator version: v2.7.0

How did you install fluent operator?

No response

Additional context

No response

Karthika-Pingali avatar Jun 02 '24 15:06 Karthika-Pingali

@Karthika-Pingali See https://docs.fluentbit.io/manual/pipeline/inputs/tail Tag_Regex

cw-Guo avatar Jun 26 '24 07:06 cw-Guo

@Karthika-Pingali does this resolve this issue? Can it be closed?

SvenThies avatar Jul 01 '24 10:07 SvenThies