I am trying to run mongo-connector to map mongodb to elasticsearch, but am getting
BulkIndexError: (document(s) failed to index.'
The command used is
mongo-connector -m localhost:27017 -t localhost:9200 -d elastic2_doc_manager.
MongoDB version is
CentOS Linux release 7.2.1511 (Core)
Mongo is set to run in replica mode
replication: oplogSizeMB: 10240 replSetName: "rs0"
Any help, greatly appreciated.