elasticsearch-river-mongodb
elasticsearch-river-mongodb copied to clipboard
Type Object doesn't work?
I installed the river and tried to import my logs collection (pretty uniform) using "type": "object" but when ES starts up it returns only 3 documents that all look like it just errored out:
{"mongodb":{"status":"START_FAILED"}}
{"node":{"id":"AGfHj0f9SY63PphrMtq_UA","name":"Archie Corrigan","transport_address":"inet[/192.168.11.3:9300]"}}
{"type":"mongodb","mongodb":{"db":"ui-logs","collection":"logs"},"index":{"name":"uilogs","type":"object"}}
Command used to setup:
curl -XPUT 'http://localhost:9200/_river/mongodb/_meta' -d '{
"type": "mongodb",
"mongodb": {
"db": "ui-logs",
"collection": "logs"
},
"index": {
"name": "uilogs",
"type": "object"
}
}'
Any ideas?
Some more info:
River version: 2.0.5 ES Version: 1.4.2 Mongo version: 2.6.6
OS: Ubuntu 14.04
Local development replset with a single instance in it (master only).
And this is what is in the logs with tracing enabled:
[2014-12-30 17:36:38,025][TRACE][org.elasticsearch.river.mongodb.MongoDBRiver] Initializing river : [mongodb]
[2014-12-30 17:36:38,026][TRACE][river.mongodb ] Parse river settings for mongodb
[2014-12-30 17:36:38,048][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] MongoDB River Plugin - version[2.0.5] - hash[c11c5ae] - time[2014-12-18T12:08:22Z]
[2014-12-30 17:36:38,051][ERROR][org.elasticsearch.river.mongodb.MongoDBRiver] Cannot start river mongodb. Current status is START_FAILED