Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.23 KB

DEVELOPER.md

File metadata and controls

55 lines (40 loc) · 1.23 KB

logstash-filter-wkt_repair

Developing

1. Plugin Developement and Testing

Code

  • To get started, you'll need JRuby with the Bundler gem installed.
rvm install jruby
jruby -S gem install bundler
bundle install

Test

  • Update your dependencies
bundle install
  • Run tests
bundle exec rspec

2. Installing and Running your plugin locally

You can build the gem and install it using:

  • Build your plugin gem
gem build logstash-filter-wkt_repair.gemspec
  • Install the plugin from the Logstash home
bin/logstash-plugin install /your/local/plugin/logstash-filter-wkt_repair.gem
  • Start Logstash and proceed to using/testing the plugin

3. Installing the plugin from rubyGems

  • To install the plugin from rubyGems
bin/logstash-plugin install logstash-filter-wkt_repair.gem

For walk through of developing Logstash filter plugin see https://www.elastic.co/guide/en/logstash/current/_how_to_write_a_logstash_filter_plugin.html