Stuck in Logging to mongo-connector.log


(-) #1

Hi everyone,

I'm new to Elastic Search and mongo.

I'm trying to make the connector work, and following the steps at: https://blog.jixee.me/how-to-use-mongo-connector-with-elasticsearch/

When I type in: mongo-connector -m localhost:27017 -t http://localhost:9200 - -d elastic2_doc_manager -n connectortest.syncthis

It gets stuck in "Logging to mongo-connector.log"

nothing gets written in mongo-connector.log

I'm using mongodb3.2.10, elasticsearch 2.3.5 and ubuntu 16.04

and When I type curl http://localhost:9200/connectortest/_search/?pretty=1, I get
{
"error" : {
"root_cause" : [ {
"type" : "index_not_found_exception",
"reason" : "no such index",
"resource.type" : "index_or_alias",
"resource.id" : "connectortest",
"index" : "connectortest"
} ],
"type" : "index_not_found_exception",
"reason" : "no such index",
"resource.type" : "index_or_alias",
"resource.id" : "connectortest",
"index" : "connectortest"
},
"status" : 404
}

Please let me know what I'm doing wrong.

Since I'm newbie to all this, if you need to to provide something pls type in the command.

Thanks


(system) #2