I had install mongodb river and head plugin in the docker.
When i execute the following code, it can't synchronize data from mongodb.
But it can work well not use docker.
Anybody get trouble ?
curl -XPUT 'http://127.0.0.1:9200/_river/mongodb_source/_meta' -d '{
"type": "mongodb",
"mongodb": {
"db": "andes",
"collection": "source",
"host": "192.168.90.46",
"port": "27017"
},
"index": {
"name": "mongoindex_source",
"type": "source"
}
}'
I had install mongodb river and head plugin in the docker.
When i execute the following code, it can't synchronize data from mongodb.
But it can work well not use docker.
Anybody get trouble ?
curl -XPUT 'http://127.0.0.1:9200/_river/mongodb_source/_meta' -d '{ "type": "mongodb", "mongodb": { "db": "andes", "collection": "source", "host": "192.168.90.46", "port": "27017" }, "index": { "name": "mongoindex_source", "type": "source" } }'