Logstash with MS SQL server

I am getting this exception

C:\tools\Logstash\logstash-6.2.2\bin>logstash -f logstash.conf
Java HotSpot(TM) 64-Bit Server VM warning: Option UseParNewGC was deprecated in version 9.0 and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.util.io.FilenoUtil (file:/C:/tools/Logstash/logstash-6.2.2/logstash-core/lib/jars/jruby-complete-9.1.13.0.jar) to method sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of org.jruby.util.io.FilenoUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[ERROR] 2018-04-23 18:55:19.632 [main] Logstash - java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (LoadError) Unsupported platform: x86_64-windows

I followed steps provided in this

Issue was with the java version compatibility.
Elastic can run on java 9 where as Logstash need 8.
Downgraded java version to 8. Both supports Java 8.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.