# Elasticsearch for Microsoft SQL Server Data

**URL:** https://discuss.elastic.co/t/elasticsearch-for-microsoft-sql-server-data/85806
**Category:** Elasticsearch
**Created:** [May 15, 2017, 6:18pm UTC](https://discuss.elastic.co/t/elasticsearch-for-microsoft-sql-server-data/85806 "2017-05-15T18:18:26Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Delly](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@Delly](https://discuss.elastic.co/u/Delly)
#### Post date: [May 15, 2017, 6:18pm UTC](https://discuss.elastic.co/t/elasticsearch-for-microsoft-sql-server-data/85806/1 "2017-05-15T18:18:26Z")

</div>

Hi,  
We have a Microsoft SQL Server Database running in Production. Can someone please illustrate on how to access Ms SQL Server Data to Elasticsearch? I found the River technique on Web but also saw that it was already deprecated. Any kind of suggestions, steps, links, resources will be highly appreciated.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![endersonmaia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/endersonmaia/32/17308_2.png) [@endersonmaia](https://discuss.elastic.co/u/endersonmaia)
#### Post date: [May 15, 2017, 7:13pm UTC](https://discuss.elastic.co/t/elasticsearch-for-microsoft-sql-server-data/85806/2 "2017-05-15T19:13:14Z")

</div>

See this : [https://www.elastic.co/blog/logstash-jdbc-input-plugin](https://www.elastic.co/blog/logstash-jdbc-input-plugin)

The link above uses a PostgreSQL Database, but you can change the configuration for your case using SQL Server JDBC Driver.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [May 15, 2017, 8:05pm UTC](https://discuss.elastic.co/t/elasticsearch-for-microsoft-sql-server-data/85806/3 "2017-05-15T20:05:32Z")

</div>

Also if you need a more real time approach and have access to the application which is writing to the database, I'd encourage reading [http://david.pilato.fr/blog/2015/05/09/advanced-search-for-your-legacy-application/](http://david.pilato.fr/blog/2015/05/09/advanced-search-for-your-legacy-application/)

HTH

---

<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: [June 12, 2017, 8:09pm UTC](https://discuss.elastic.co/t/elasticsearch-for-microsoft-sql-server-data/85806/4 "2017-06-12T20:09:26Z")

</div>

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