How can I filter and add tags for logs coming from http input? #9017
Unanswered
ylbeethoven
asked this question in
Q&A
Replies: 1 comment
-
HTTP input supports the tags coming from the sender: https://docs.fluentbit.io/manual/pipeline/inputs/http#how-to-set-tag |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I have a use case that I have two application sending JSON logs to fluent-bit via http input.
I want to differentiate logs from these two applications by
user-agent
header and then appley different tags so I can use different outputs.I've tried rewrite_tags and even Lua but not much luck.
Does anyone know if this is achievable? Or should I use two http input to receive logs from different sources?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions