# MongoDB river replacement?

**URL:** https://discuss.elastic.co/t/mongodb-river-replacement/22009
**Category:** Elasticsearch
**Created:** [February 6, 2015, 10:49am UTC](https://discuss.elastic.co/t/mongodb-river-replacement/22009 "2015-02-06T10:49:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jamie\_Munro](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@Jamie\_Munro](https://discuss.elastic.co/u/Jamie_Munro)
#### Post date: [February 6, 2015, 10:49am UTC](https://discuss.elastic.co/t/mongodb-river-replacement/22009/1 "2015-02-06T10:49:25Z")

</div>

I've read and heard from Elasticsearch that rivers are being phased out.  
Previously we've used the MongoDB river to connect our preferred NoSQL  
database to Elastic but as that's now not recommended, what should we be  
using instead? Logstash doesn't seem to have an input for MongoDB, despite  
having an output.

Currently we're looking at an integration of custom code, RabbitMQ and  
Logstash. This looks promising, however we have a specific requirement to  
delete a whole index and re-index the data from MongoDB. Is there a way to  
achieve this kind of functionality in Logstash generally?

Jamie

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ffde4943-ae35-4969-bd55-5ce7474f682e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ffde4943-ae35-4969-bd55-5ce7474f682e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:34am UTC](https://discuss.elastic.co/t/mongodb-river-replacement/22009/2 "2017-07-06T00:34:32Z")

</div>


