Kubernetes fluent-bit agent configuration problem


I’m using the NewRelic fluent-bit logging agent in Kubernetes and I’ve tried to add a new parser as follows:

        Name        json
        Format      json
        Time_Key    time
        Time_Format %d/%b/%Y:%H:%M:%S %z

Then I have annotated the pod adding the annotation:

fluentbit.io/parser_stdout: json

The fluent-bit agent throws a WARN message:

[ warn] [filter:kubernetes:kubernetes.0] annotation 'fluentbit.io/parser' not allowed

Any idea what I’m missing?

LE: I fixed the warn by adding K8S-Logging.Parser On on the Kubernetes filter. Sadly, the logs are still not parsed as JSON.

@florin.chircea Something similar was posted about this issue in this thread which you may find useful:

I am also going to reach out to our support team to ask them to assist you directly.

Hello @florin.chircea ,

Can you please check if you are hitting any limits?

Best Regards,
Yasahswi verma