# Issue with elasticSearch MongoDB river

**URL:** https://discuss.elastic.co/t/issue-with-elasticsearch-mongodb-river/7846
**Category:** Elasticsearch
**Created:** [May 24, 2012, 4:45pm UTC](https://discuss.elastic.co/t/issue-with-elasticsearch-mongodb-river/7846 "2012-05-24T16:45:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![coys](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@coys](https://discuss.elastic.co/u/coys)
#### Post date: [May 24, 2012, 4:45pm UTC](https://discuss.elastic.co/t/issue-with-elasticsearch-mongodb-river/7846/1 "2012-05-24T16:45:14Z")

</div>

Hello,  
I'm using rwilly's ElasticSearch MongoDB river which works on  
MongoDB oplogs. I'm seeing an issue where the data I enter into  
MongoDB is not available in ElasticSearch at real time.The entries  
however are present in Mongo and I can see the data in the oplogs.  
However, when elasticSearch is brought down and brought up again, it  
then reads the entries from the oplogs and has the data it was missing  
previously. Its as if writes are blocked when the elasticsearch  
process is up and again, the data that I enter via mongo now cannot be  
searched via elasticSearch until it is brought down and brought up  
again. I'd greatly appreciate any help with this as I cant seem to  
figure out why it's happening. Thanks!

---

<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, 3:27am UTC](https://discuss.elastic.co/t/issue-with-elasticsearch-mongodb-river/7846/2 "2017-07-06T03:27:14Z")

</div>


