Fresh clone from from https://github.com/Yuav/logstash-packaging
Running package.sh will download logstash 1.1.10, and package it into a .deb file. Alternatively, you can do it manually:
-
clone this repository
git clone [email protected]:Yuav/logstash-packaging.git --depth=1
-
install Jordan Sissel's FPM with gem
gem install fpm
-
download the all inclusive logstash jar
cd logstash-packaging wget http://logstash.objects.dreamhost.com/release/logstash-1.1.13-flatjar.jar -O usr/share/logstash/logstash.jar
-
run the following command:
fpm -n logstash -v 1.1.13 -a all -C logstash-packaging -m "[email protected]" --pre-install logstash-packaging/logstash.preinstall --description "Logstash Open Source Log Management" --url 'http://www.logstash.net/' -t deb --config-files etc/logstash/syslog.conf --config-files etc/default/logstash -s dir etc usr var