fluent-bit-go
fluent-bit-go copied to clipboard
Please have a way to pass custom configuration parameters for a custom go plugin
I do not see any option to pass in a custom parameter to the custom output plugin. I have to do a lookup in some configuration file whose location I have to hardcode, which is not very elegant and is essentially a hack.
You can get params from the output instance's configuration like this:
https://github.com/fluent/fluent-bit-go/blob/51032bd05190bd178085a56c410706696fbd3177/examples/out_gstdout/out_gstdout.go#L20
Does that work for you or am I misunderstanding what you said?