Mongo-connector giving bulk index error when running with mongodb

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 3.2.7. OS CentOS Linux release 7.2.1511 (Core)

Mongo is set to run in replica mode

  oplogSizeMB: 10240
  replSetName: "rs0"

Any idea?


Any help, greatly appreciated.

Fixed it myself , it was just that ES is less forgiving :slight_smile: