Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
r-dilip opened this issue Sep 6, 2018 · 1 comment

Comments

@r-dilip
Copy link

r-dilip commented Sep 6, 2018

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.

@jasonkeene
Copy link

jasonkeene commented Apr 17, 2019

You can get params from the output instance's configuration like this:

param := output.FLBPluginConfigKey(ctx, "param")

Does that work for you or am I misunderstanding what you said?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants