fluentd icon indicating copy to clipboard operation
fluentd copied to clipboard

Add add_tag_prefix parameter to out_forward (like in_forward has)

Open Lukas-Ldc opened this issue 1 month ago • 1 comments

Is your feature request related to a problem? Please describe.

When using out_forward to send logs to multiple different destinations, there's no way to simply add a tag prefix for a specific destination. This is problematic when the remote FluentD is not under your control, so you can't use add_tag_prefix on their in_forward.

Describe the solution you'd like

Could you please implement the add_tag_prefix parameter to out_forward, similar to what already exists in in_forward. This would be a simple, performant solution that keeps the FluentD configuration clean and straightforward.

Describe alternatives you've considered

rewrite_tag_filter - I tried using this plugin but encountered issues and couldn't get it to work properly (don't remember exactly, but probably because events were re-routed through the entire pipeline). I think it also has performance overhead.

Additional context

No response

Lukas-Ldc avatar Dec 04 '25 12:12 Lukas-Ldc

Isn't the pattern of using the out_copy and out_forward plugins sufficient in this use case?

Watson1978 avatar Dec 11 '25 01:12 Watson1978