Running package.sh will download logstash 1.2.2, 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
sudo apt-get install rubygems -y gem install fpm
-
download the all inclusive logstash jar
cd logstash-packaging wget https://download.elasticsearch.org/logstash/logstash/logstash-1.2.2-flatjar.jar -O usr/share/logstash/logstash.jar
-
run the following command:
fpm -n logstash -v 1.2.2 -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