-
Hi,
So I assume that each log is tagged like kubernetes.* what does * add ? I couldn't find anything about it So my main question, is it even possible to retag messages send to external fluentd ? Or maybe there is a way to somehow edit Tag in fluentbit so I can add namespace name here ? And finally, maybe I got this all wrong and there is a simple and easy solution. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You can use the Documentation and available options: One thing to remember is that this filter should come first in the filters list, otherwise all the filters before it will be applied twice. |
Beta Was this translation helpful? Give feedback.
-
Thank you. I somehow missed that in docs. |
Beta Was this translation helpful? Give feedback.
-
@pepov Is it possible to tag logs with two different tags with this ? I mean one "projecttag" plus "appspecifictag"? |
Beta Was this translation helpful? Give feedback.
You can use the
tag_normaliser
filter like in this example:#1117
Documentation and available options:
https://kube-logging.dev/docs/configuration/plugins/filters/tagnormaliser/
One thing to remember is that this filter should come first in the filters list, otherwise all the filters before it will be applied twice.