# Best way to index from SQL since Rivers is deprecated?

**URL:** <https://discuss.elastic.co/t/best-way-to-index-from-sql-since-rivers-is-deprecated/24401>\
**Category:** Elasticsearch\
**Created:** [June 26, 2015, 6:30am UTC](https://discuss.elastic.co/t/best-way-to-index-from-sql-since-rivers-is-deprecated/24401 "2015-06-26T06:30:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marius\_Mathisen](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Marius\_Mathisen](https://discuss.elastic.co/u/Marius_Mathisen)\
**Post date:** [June 26, 2015, 6:30am UTC](https://discuss.elastic.co/t/best-way-to-index-from-sql-since-rivers-is-deprecated/24401/1 "2015-06-26T06:30:29Z")

</div>

Hi there,

I am just starting out with Elastic and it´s products. Right now I am setting up a test environment and I want to index the data stored in a MS SQL server. Before digging any deeper I thought Rivers was the answer, but I see now that is being deprecated.

So what are the best way to index data from a SQL server without using Rivers? Anyone that can point me in the right direction? 🙂

---

<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 26, 2015, 9:24am UTC](https://discuss.elastic.co/t/best-way-to-index-from-sql-since-rivers-is-deprecated/24401/2 "2015-06-26T09:24:08Z")

</div>

I'd suggest you search the forums, this has been asked multiple times before 🙂

---

<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:** [June 26, 2015, 9:25am UTC](https://discuss.elastic.co/t/best-way-to-index-from-sql-since-rivers-is-deprecated/24401/3 "2015-06-26T09:25:44Z")

</div>

If you have access to the application which stores the data in your DB, do it from there.

See [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/)

If not, have a look at logstash input JDBC (WIP) or the jdbc-river (its old name) which is not anymore a river but a standalone project thanks to @jprante 🙂

---

<div class="post-metadata">

**Author:** ![Marius\_Mathisen](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Marius\_Mathisen](https://discuss.elastic.co/u/Marius_Mathisen)\
**Post date:** [June 26, 2015, 10:52am UTC](https://discuss.elastic.co/t/best-way-to-index-from-sql-since-rivers-is-deprecated/24401/4 "2015-06-26T10:52:21Z")

</div>

Thank you very much. 🙂

---

<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 6, 2017, 12:05am UTC](https://discuss.elastic.co/t/best-way-to-index-from-sql-since-rivers-is-deprecated/24401/5 "2017-07-06T00:05:13Z")

</div>


