fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
555 stars 229 forks source link

bug: Unable to extract namespace from Kuberenetes filter #1193

Open Karthika-Pingali opened 4 weeks ago

Karthika-Pingali commented 4 weeks ago

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

cw-Guo commented 5 days ago

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

SvenThies commented 7 hours ago

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