fluent-bit-go icon indicating copy to clipboard operation
fluent-bit-go copied to clipboard

Please have a way to pass custom configuration parameters for a custom go plugin

Open r-dilip opened this issue 7 years ago • 1 comments

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.

r-dilip avatar Sep 06 '18 18:09 r-dilip

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?

jasonkeene avatar Apr 17 '19 17:04 jasonkeene