# Steps to Install and Configure SQL Server with Logstash

**URL:** <https://discuss.elastic.co/t/steps-to-install-and-configure-sql-server-with-logstash/134854>\
**Category:** Logstash\
**Created:** [June 6, 2018, 6:02pm UTC](https://discuss.elastic.co/t/steps-to-install-and-configure-sql-server-with-logstash/134854 "2018-06-06T18:02:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minasys](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@Minasys](https://discuss.elastic.co/u/Minasys)\
**Post date:** [June 6, 2018, 6:02pm UTC](https://discuss.elastic.co/t/steps-to-install-and-configure-sql-server-with-logstash/134854/1 "2018-06-06T18:02:30Z")

</div>

I'm trying to find a step by step tutorial to install and configure SQL Server with Logstash or Elasticsearch and I can't find full ones. I need help doing that as I'm new to Elasticsearch!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 6, 2018, 8:29pm UTC](https://discuss.elastic.co/t/steps-to-install-and-configure-sql-server-with-logstash/134854/2 "2018-06-06T20:29:48Z")

</div>

What OS?

---

<div class="post-metadata">

**Author:** ![Joaquim\_Freitas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joaquim_freitas/32/20113_2.png) [@Joaquim\_Freitas](https://discuss.elastic.co/u/Joaquim_Freitas)\
**Post date:** [June 7, 2018, 10:52am UTC](https://discuss.elastic.co/t/steps-to-install-and-configure-sql-server-with-logstash/134854/3 "2018-06-07T10:52:32Z")

</div>

Hi,

MSSQL Server will be Windows.

Whatever OSes you'll run Logstash/Elastic, You'll surely need to [Download Microsoft JDBC Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-2017) - at least for Logstash.

Then you'll only need to configure the JDBC Plugin accordingly (as documented):

```
jdbc_driver_library => "<somepath>/mssql-jdbc-6.2.2.jre8.jar"
jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
jdbc_connection_string =>
  "jdbc:sqlserver://<mssqlhost>:<mssqlport>;databaseName=<mssqldb>"

```

And the rest its history.

_Been there, done that..._

---

<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:** [July 5, 2018, 10:52am UTC](https://discuss.elastic.co/t/steps-to-install-and-configure-sql-server-with-logstash/134854/4 "2018-07-05T10:52:40Z")

</div>

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