elastic / logstash

Logstash - transport and process your logs, events, or other data
https://www.elastic.co/products/logstash
Other
58 stars 3.5k forks source link

New Plugin: logstash-filter-json_schema #9720

Open NeilSorensen opened 6 years ago

NeilSorensen commented 6 years ago

We created a plugin to validate json input against a schema. It uses the json-schema ruby gem for schema parsing/validation, which makes the plugin trivial, but we hopefully someone else finds it useful as well.

https://github.com/pluralsight/logstash-filter-json_schema

yaauie commented 6 years ago

@NeilSorensen thanks for creating a new plugin 😄; I imagine a schema-validating filter could be super helpful.

Are you looking to have this plugin absorbed into the logstash-plugins org? If so, I can leave this open and we can work to add the test/spec coverage toward that end.

If not, and you would like to maintain ownership within the pluralsight org, we should close this issue but can pin/promote a post in the Logstash Forums to make it easier for others to find it.

NeilSorensen commented 6 years ago

We were interested in getting it absorbed into the logstash-plugins organization, I think. If we need to add tests, we'd be happy to help with that, but I'm not a ruby expert, so some guidance would probably be helpful.

webmat commented 6 years ago

@NeilSorensen Integrating it to logstash-plugins will be great to share your work more widely. Thanks for volunteering this plugin.

Keep in mind however that you'll be more than welcome to continue maintaining the plugin after moving it to logstash-plugins. We can help a bit with maintenance and guidance on the testing as well. But given the amount of plugins that already exist, we're actually very limited in our ability to start maintaining more.