Sha256: e7e02489e62e202dc7bc5c62f5a088d1b7b41c7caae4aa947876d88a200a09dc

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 KB

Contents

# Developing the plugin

# Getting started

* Install JRuby: `rbenv install jruby-9.2.5.0`
* Use that JRuby: `rbenv local jruby-9.2.5.0`
* Install Bundler gem: `jruby -S gem install bundler`

# Developing

* Install dependencies: `jruby -S bundle install`
* Write tests and production code!
* Bump version: edit version file `version.rb`
* Run tests: `jruby -S bundle exec rspec`
* Build the gem: `jruby -S gem build logstash-output-newrelic.gemspec`

# Testing it with a local Logstash install

Note: you may need to run the following commands outside of your checkout, since these should not
be run with the JRuby version that you've configured your checkout to use (by using rbenv). 

* Remove previous version: `logstash-plugin remove logstash-output-newrelic`
* Add new version: `logstash-plugin install logstash-output-newrelic-<version>.gem`
* Restart logstash: For Homebrew: `brew services restart logstash`
* Cause a change that you've configured Logstash to pick up (for instance, append to a file you're having it monitor)
* Look in `https://one.newrelic.com/launcher/logger.log-launcher` for your log message

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
logstash-output-newrelic-1.3.0 DEVELOPER.md
logstash-output-newrelic-1.2.2 DEVELOPER.md
logstash-output-newrelic-1.2.1 DEVELOPER.md
logstash-output-newrelic-1.2.0 DEVELOPER.md
logstash-output-newrelic-1.1.4 DEVELOPER.md