logstash versoin: 7.17.5
java version: OpenJDK 11.0.15
cpu: mips64el
I use the logstash-7.17.5-linux-aarch64.tar.gz installation package, replace the jdk directory in logstash with mips jdk, and start logstahs, the following is the error:
Using LS_JAVA_HOME defined java: /dream/jdk-11.0.15/.
WARNING: Using LS_JAVA_HOME while Logstash distribution comes with a bundled JDK.
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/jffi4130856670605368363.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Sending Logstash logs to /dream/logstash-7.17.5/logs which is now configured via log4j2.properties
[2022-08-09T18:14:48,620][INFO ][logstash.runner ] Log4j configuration path used is: /dream/logstash-7.17.5/config/log4j2.properties
[2022-08-09T18:14:48,695][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.17.5", "jruby.version"=>"jruby 9.2.20.1 (2.5.8) 2021-11-30 2a2962fbd1 OpenJDK 64-Bit Server VM 11.0.15+10 on 11.0.15+10 +indy +jit [linux-mips64el]"}
[2022-08-09T18:14:48,713][INFO ][logstash.runner ] JVM bootstrap flags: [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djdk.io.File.enableADS=true, -Djruby.compile.invokedynamic=true, -Djruby.jit.threshold=0, -Djruby.regexp.interruptible=true, -XX:+HeapDumpOnOutOfMemoryError, -Djava.security.egd=file:/dev/urandom, -Dlog4j2.isThreadContextMapInheritable=true]
[2022-08-09T18:14:49,243][FATAL][org.logstash.Logstash ] Logstash stopped processing because of an error: (LoadError) Unsupported platform: unknown-linux
org.jruby.exceptions.LoadError: (LoadError) Unsupported platform: unknown-linux
at org.jruby.ext.jruby.JRubyUtilLibrary.load_ext(org/jruby/ext/jruby/JRubyUtilLibrary.java:201) ~[jruby-complete-9.2.20.1.jar:?]
at RUBY.<main>(/dream/logstash-7.17.5/vendor/bundle/jruby/2.5.0/gems/ffi-1.15.5-java/lib/ffi.rb:11) ~[?:?]
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:974) ~[jruby-complete-9.2.20.1.jar:?]
at dream.logstash_minus_7_dot_17_dot_5.vendor.bundle.jruby.$2_dot_5_dot_0.gems.polyglot_minus_0_dot_3_dot_5.lib.polyglot.require(/dream/logstash-7.17.5/vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/lib/polyglot.rb:65) ~[?:?]
at RUBY.<module:LibC>(/dream/logstash-7.17.5/logstash-core/lib/logstash/util/prctl.rb:19) ~[?:?]
at RUBY.<main>(/dream/logstash-7.17.5/logstash-core/lib/logstash/util/prctl.rb:18) ~[?:?]
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:974) ~[jruby-complete-9.2.20.1.jar:?]
at dream.logstash_minus_7_dot_17_dot_5.vendor.bundle.jruby.$2_dot_5_dot_0.gems.polyglot_minus_0_dot_3_dot_5.lib.polyglot.require(/dream/logstash-7.17.5/vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/lib/polyglot.rb:65) ~[?:?]
at dream.logstash_minus_7_dot_17_dot_5.logstash_minus_core.lib.logstash.util.set_thread_name(/dream/logstash-7.17.5/logstash-core/lib/logstash/util.rb:35) ~[?:?]
at RUBY.execute(/dream/logstash-7.17.5/logstash-core/lib/logstash/runner.rb:351) ~[?:?]
at dream.logstash_minus_7_dot_17_dot_5.vendor.bundle.jruby.$2_dot_5_dot_0.gems.clamp_minus_1_dot_0_dot_1.lib.clamp.command.run(/dream/logstash-7.17.5/vendor/bundle/jruby/2.5.0/gems/clamp-1.0.1/lib/clamp/command.rb:68) ~[?:?]
at dream.logstash_minus_7_dot_17_dot_5.logstash_minus_core.lib.logstash.runner.run(/dream/logstash-7.17.5/logstash-core/lib/logstash/runner.rb:290) ~[?:?]
at dream.logstash_minus_7_dot_17_dot_5.vendor.bundle.jruby.$2_dot_5_dot_0.gems.clamp_minus_1_dot_0_dot_1.lib.clamp.command.run(/dream/logstash-7.17.5/vendor/bundle/jruby/2.5.0/gems/clamp-1.0.1/lib/clamp/command.rb:133) ~[?:?]
at dream.logstash_minus_7_dot_17_dot_5.lib.bootstrap.environment.<main>(/dream/logstash-7.17.5/lib/bootstrap/environment.rb:93) ~[?:?]
How do I install and start logstash on a mips host?