Hi all, never had any success in getting logstash 7.x installed on raspberry pi 4, is anyone able to get it running?
Below are the steps that I have taken:
root@wks:/# uname -a
Linux home-wks 4.19.57-v7l+ #1244 SMP Thu Jul 4 18:48:07 BST 2019 armv7l GNU/Linux#prepare requisite
apt-get install openjdk-8-jdk -y
apt-get install apt-transport-https jruby -y
apt-get install texinfo build-essential ant git -yupdate-alternative --config java
#choose java 8#compile arm-linux jffi library
git clone GitHub - jnr/jffi: Java Foreign Function Interface
cd jffi/
ant jar#download and install logstash
wget https://artifacts.elastic.co/downloads/logstash/logstash-7.3.2.deb
dpkg -i --force-all logstash-7.3.2.deb#replace libjffi
mv /usr/share/logstash/vendor/jruby/lib/jni/arm-Linux/libjffi-1.2.so /usr/share/logstash/vendor/jruby/lib/jni/arm-Linux/libjffi-1.2.so.old
cp ~/jffi/build/jni/libjffi-1.2.so /usr/share/logstash/vendor/jruby/lib/jni/arm-Linux/libjffi-1.2.so#enable logstash service
systemctl enable logstash
systemctl start logstash
Oct 26 18:29:31 wks systemd[1]: Started logstash.
Oct 26 18:30:03 wks logstash[17870]: Thread.exclusive is deprecated, use Thread::Mutex
Oct 26 18:30:11 wks logstash[17870]: Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
Oct 26 18:30:13 wks logstash[17870]: [2019-10-26T18:30:13,124][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) load error: ffi/ffi -- java.lang.NullPointerException: null
Oct 26 18:30:13 wks systemd[1]: logstash.service: Main process exited, code=exited, status=1/FAILURE
Oct 26 18:30:13 wks systemd[1]: logstash.service: Failed with result 'exit-code'.
Oct 26 18:30:13 wks systemd[1]: logstash.service: Service RestartSec=100ms expired, scheduling restart.
Oct 26 18:30:13 wks systemd[1]: logstash.service: Scheduled restart job, restart counter is at 2.
Oct 26 18:30:13 wks systemd[1]: Stopped logstash.
Appreciate if anyone could help, thank you!