Replies: 1 comment
-
|
Rewrite_tag lets you create a tag based on another key. You can always also send to both then use Something like this: outputs:
- name: stdout
match: '*'
processors:
logs:
- name: grep
exclude: $logDestination http
- name: http
match: '*'
processors:
logs:
- name: grep
exclude: $logDestination stdout |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello team,
I am in a containerized environments and have a specific requirement. I am looking a way to collect logs directly from the standard output (stdout) of containers and send this data to 2 different output plugins: the Standard output plugin and the HTTP output plugin. Depending on the value of an attribute in a JSON configuration file, say “logDestination” I want to switch at runtime between the former, the latter or both (duplicating input). Suppose logDestination=stdout, logDestination=http or logDestination=both.
Is there an existing feature in fluent-bit that supports this kind of dynamic data routing?
If not, could this be implemented with a plugin (input, filter, output)?
What would be the recommended approach to implement this functionality if it doesn’t currently exist?
Thanks a lot for your help
Beta Was this translation helpful? Give feedback.
All reactions