# JDBCriver and FSriver together

**URL:** <https://discuss.elastic.co/t/jdbcriver-and-fsriver-together/25224>\
**Category:** Elasticsearch\
**Created:** [July 9, 2015, 10:34am UTC](https://discuss.elastic.co/t/jdbcriver-and-fsriver-together/25224 "2015-07-09T10:34:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![poonam](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@poonam](https://discuss.elastic.co/u/poonam)\
**Post date:** [July 9, 2015, 10:34am UTC](https://discuss.elastic.co/t/jdbcriver-and-fsriver-together/25224/1 "2015-07-09T10:34:36Z")

</div>

HI,  
I have a requirement where I am reading file path from database and fetching files from file server.  
Like KBid=1 KBfilepath="filepath" and KBstatus="ready".  
Now I need to feed file and also other contents like KBID to elasticsearch.  
How do I form query for this.I am using marvel.

---

<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:** [July 10, 2015, 1:18am UTC](https://discuss.elastic.co/t/jdbcriver-and-fsriver-together/25224/2 "2015-07-10T01:18:02Z")

</div>

Rivers are deprecated.

Look at using Logstash instead.

---

<div class="post-metadata">

**Author:** ![poonam](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@poonam](https://discuss.elastic.co/u/poonam)\
**Post date:** [July 17, 2015, 10:52am UTC](https://discuss.elastic.co/t/jdbcriver-and-fsriver-together/25224/3 "2015-07-17T10:52:55Z")

</div>

can anyone share small example

---

<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:** [July 17, 2015, 2:27pm UTC](https://discuss.elastic.co/t/jdbcriver-and-fsriver-together/25224/4 "2015-07-17T14:27:20Z")

</div>

For what?

---

<div class="post-metadata">

**Author:** ![poonam](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@poonam](https://discuss.elastic.co/u/poonam)\
**Post date:** [July 20, 2015, 4:56am UTC](https://discuss.elastic.co/t/jdbcriver-and-fsriver-together/25224/5 "2015-07-20T04:56:09Z")

</div>

example for using fileserver along with JDBC connection.where path of files are in database.

---

<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:00am UTC](https://discuss.elastic.co/t/jdbcriver-and-fsriver-together/25224/6 "2017-07-06T00:00:28Z")

</div>


