How do I add fixed prefixes to dynamic topics #6096
Unanswered
kartikzheng
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Expect this feature! |
Beta Was this translation helpful? Give feedback.
0 replies
-
The easiest would be to add a filter right before, a pre-fix might be easy via Lua. A bit more complicated could be using the Nest Lift feature as well https://docs.fluentbit.io/manual/pipeline/filters/nest |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The logs collected by fluent-bit are output to Kafka. Can I specify a fixed prefix for topic? For example, I set the dynamic topic as a namespace, and I want to add a fixed prefix to the namespace. What should I do instead? Thank you very much.
`
[OUTPUT]
`
For example, add the fixed prefix "my", Assume that namespace is test1, test2, and output topic is my_test1, my_test2.
Beta Was this translation helpful? Give feedback.
All reactions