# Elasticsearch river Monodb Error

**URL:** <https://discuss.elastic.co/t/elasticsearch-river-monodb-error/33617>\
**Category:** Elasticsearch\
**Created:** [November 3, 2015, 10:34am UTC](https://discuss.elastic.co/t/elasticsearch-river-monodb-error/33617 "2015-11-03T10:34:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![krish0608](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krish0608/32/6797_2.png) [@krish0608](https://discuss.elastic.co/u/krish0608)\
**Post date:** [November 3, 2015, 10:34am UTC](https://discuss.elastic.co/t/elasticsearch-river-monodb-error/33617/1 "2015-11-03T10:34:26Z")

</div>

Hello,

While creating Elasticsearch-river-mongodb,I am getting Error.Is It necessary to create replicaset  
.while creating replica set m getting Error.

Please guys Help me out.

This is my code:  
PUT /\_river/mongodb/\_meta  
{  
"type": "mongodb",  
"mongodb": {  
"db": "testmongo",  
"collection": "person"  
},  
"index": {  
"name": "mongoindex",  
"type": "person"  
}  
}

rs.initiate()  
{  
"info2" : "no configuration explicitly specified -- making one",  
"errmsg" : "exception: bad --replSet config string format is: [/,,...]",  
"code" : 13093,  
"ok" : 0  
}

Link From Where I have Done This:

> **[Learn How To Configure Elasticsearch MongoDB River - codetweet](http://www.codetweet.com/ubuntu-2/configuring-elasticsearch-mongodb/)**
>
> Learn how to create mongodb river in elasticsearch.A simple tutorial on configuring elasticsearch with mongodb to index collections.Create elasticsearch mongodb river.

  
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 5, 2017, 11:40pm UTC](https://discuss.elastic.co/t/elasticsearch-river-monodb-error/33617/2 "2017-07-05T23:40:56Z")

</div>


