Skip to content

Instantly share code, notes, and snippets.

@mhzawadi
Forked from vjm/install.sh
Last active September 17, 2015 13:02
Show Gist options
  • Save mhzawadi/7db6dae945236ac59335 to your computer and use it in GitHub Desktop.
Save mhzawadi/7db6dae945236ac59335 to your computer and use it in GitHub Desktop.
Raspberry Pi Logstash
wget https://download.elastic.co/logstash/logstash/packages/debian/logstash_1.5.4-1_all.deb
dpkg --install logstash_1.5.4-1_all.deb
vi /etc/logstash/conf.d/logstash.conf
# https://github.com/jruby/jruby/issues/1561
cd /tmp/
sudo git clone https://github.com/jnr/jffi.git
cd jffi/
apt-get install -y ant
ant jar
mkdir -p /opt/logstash-1.4.2/vendor/jar/jni/arm-Linux/
cp /tmp/jffi/build/jni/libjffi-1.2.so /opt/logstash/vendor/jruby/lib/jni/arm-Linux/libjffi-1.2.so
# USE_JRUBY=1 LS_HEAP_SIZE=64m ./bin/logstash -e 'input { stdin { } } output { stdout { } }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment