Elasticsearch river Monodb Error


(krishna singh) #1

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:


Thanks,


Mongo river elasticsearch
(system) #2