# Logstash with MS SQL server

**URL:** <https://discuss.elastic.co/t/logstash-with-ms-sql-server/129122>\
**Category:** Logstash\
**Created:** [April 23, 2018, 1:35pm UTC](https://discuss.elastic.co/t/logstash-with-ms-sql-server/129122 "2018-04-23T13:35:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amol\_Hegana](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@Amol\_Hegana](https://discuss.elastic.co/u/Amol_Hegana)\
**Post date:** [April 23, 2018, 1:35pm UTC](https://discuss.elastic.co/t/logstash-with-ms-sql-server/129122/1 "2018-04-23T13:35:38Z")

</div>

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

> **[Integrating Elasticsearch with MS SQL, Logstash, and Kibana](http://stackabuse.com/integrating-elasticsearch-with-ms-sql-logstash-and-kibana/)**
>
> Introduction MS SQL Server holds the data in relational form or even multi-dimensional form (through SSAS) and proffers several out-of-the-box search features through Full Text Search (FTS). However, the search function of the modern-world...

---

<div class="post-metadata">

**Author:** ![Amol\_Hegana](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@Amol\_Hegana](https://discuss.elastic.co/u/Amol_Hegana)\
**Post date:** [April 25, 2018, 7:25am UTC](https://discuss.elastic.co/t/logstash-with-ms-sql-server/129122/2 "2018-04-25T07:25:27Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 23, 2018, 7:25am UTC](https://discuss.elastic.co/t/logstash-with-ms-sql-server/129122/3 "2018-05-23T07:25:31Z")

</div>

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