This message was deleted.
# logging
a
This message was deleted.
l
have you been able to solve this?
p
Not really, in fact, modifying "logging-root-fluentbit" secret is working. I don't know what I was doing before. But it's not a good solution in my opinion, it would be better to have an option like "Namespace_Labels" in the Helm Chart.
l
I'm looking at this chart and the fluenbit config seems to be very generic, not sure how you see that through the ui, or where you configure it: https://github.com/rancher/charts/blob/dev-v2.10/charts/rancher-logging/105.2.0%2Bup4.10.0/templates/logging/fluentbit.yaml
p
I manually edited the secret containing fluentbit.conf to add “Namespace_Labels On” to the configuration. However, I don't think this will persist after an update. So I override the secret and push it with ArgoCD but it's not very clean, I'd rather have a native option in the Helm Chart.
l
I understand, but I don't know what chart are we talking about exactly so I'm just guessing
I'm a maintainer of the logging operator, but rancher has its own patches on top of the original chart
the original chart allows setting anything under fluentbit, and I suppose the rancher chart doesn't restrict this much further
how does your chart values look like at the moment?
p
Sorry, I was talking about the rancher-logging helm chart : https://github.com/rancher/charts/blob/release-v2.11/charts/rancher-logging/105.0.0%2Bup4.8.0/ And as you can see here, you can only define Merge_Log, Merge_Log_Key, Merge_Log_Trim and Merge_Parser : https://github.com/rancher/charts/blob/release-v2.11/charts/rancher-logging/105.0.0%2Bup4.8.0/templates/loggings/root/fluentbitagent.yaml
l
I think there are newer versions available already
have you checked those?
p