# Elasticsearch indexing on mongodb shard cluster

**URL:** <https://discuss.elastic.co/t/elasticsearch-indexing-on-mongodb-shard-cluster/51698>\
**Category:** Elasticsearch\
**Created:** [June 2, 2016, 1:22pm UTC](https://discuss.elastic.co/t/elasticsearch-indexing-on-mongodb-shard-cluster/51698 "2016-06-02T13:22:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yesu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yesu/32/48857_2.png) [@yesu](https://discuss.elastic.co/u/yesu)\
**Post date:** [June 2, 2016, 1:22pm UTC](https://discuss.elastic.co/t/elasticsearch-indexing-on-mongodb-shard-cluster/51698/1 "2016-06-02T13:22:59Z")

</div>

Hi All,

Elasticsearch mongodb river has been configured on mongodb shard  
cluster to index data. Have 3 shareds and configured river on each  
shard(mean have 3 indexes in single ES cluster). Issue is, when some  
random data migration happens among mongodb shards those changes not  
reflecting in elasticsearch indexes.

Or one river configuration would be on all mongodb shards of mongo cluster(on mongose) will work?

Please help me if have idea.

Thanks,

Yesu

---

<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 5, 2017, 10:46pm UTC](https://discuss.elastic.co/t/elasticsearch-indexing-on-mongodb-shard-cluster/51698/2 "2017-07-05T22:46:53Z")

</div>


