-
Notifications
You must be signed in to change notification settings - Fork 177
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
Support for extra inputs #235
Comments
A purely hash generated method sounds great to me - I've wanted to switch for a while but haven't had time (any PR help is much appreciated). For now some extra flag on the defined resource is probably the easiest and we'll look to making it the default in some future release. |
I will implement this, would like your thoughts on best way to do it.
My idea is to transform |
Pull request #236 |
My only concern with not using the I wonder if something like a parameter on Thoughts? |
I used |
Right now,
prospector.yml
(should be renamed to inputs.yml), gets a lot of parameters and expects known inputs like log, stdin, docker and syslog.There're a lot others like tcp, udp, redis, kafka, ... They would be needed to be implemented one by one, with new parameters and dealing with that huge prospector template file.
Therefore I would like to request a feature to change the inputs to be a pure hash representation for inputs, this way everything would be simpler and future proof when new inputs show up.
This would not be backward compatible and could break existing installs after module upgrade. I'm unsure how you would like to deal with this, probably write some manual conversions on the module, add a deprecate notice on the documentation and remove this conversions on a next major release.
Another possibility is to use a new hash parameter like
filebeat::inputs_hash
or something else and forget about manual conversions and deprecation, but the old code will probably be not maintained because people will tend to use inputs_hash probably.I can probably work on that and send a PR, just let me know your toughts.
The text was updated successfully, but these errors were encountered: