Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 869 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 869 Bytes

Running package.sh will download logstash 1.2.2, and package it into a .deb file. Alternatively, you can do it manually:

  1. clone this repository

    git clone git@github.com:Yuav/logstash-packaging.git --depth=1

  2. install Jordan Sissel's FPM with gem

    sudo apt-get install rubygems -y gem install fpm

  3. 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

  4. run the following command:

    fpm -n logstash -v 1.2.2 -a all -C logstash-packaging -m "lesspublic@gmail.com" --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