driskell/log-courier — pull request #53 by labrown (2014-10-03 17:40:47+00:00)
Title: Need to copy lib/logstash and lib/log-courier to logstash

To make the plugin really work properly you need to copy both lib/logstash and lib/log-courier to /opt/logstash/lib. This is especially important if you want to create a separate --pluginpath directory for log-courier so you can keep the logstash and log-courier code separate, making it easier to handle with Ansible, Puppet, Chef, etc.

I used:

LSDIR=location of logstash install
cd $LSDIR
export GEM_HOME=$LSDIR../log-courier
java -jar vendor/jar/jruby-complete-1.7.11.jar -S gem install

cd
cp -rvf lib $LSDIR../log-courier

Then call logstash this way:

$LSDIR/bin/logstash agent \
-f \
--pluginpath $LSDIR/../log-courier/lib \

to include that pluginpath