ElasticSearch - MongoDB sync

I have a elasticSearch server and mongodb Server.Data is feed into mongodb which needs to in turn pushed into ElasticSearch.I am looking for realtime updates into the ES server.
I evaluated logstash using logstash-input-mongodb.But it works for only inserts into db, any updates on existing records are not detected/reflected in ES.
I also tried mongo-connector, but getting exception
Last entry no longer in oplog cannot recover!. I tried various solutions using Resyncing Connector.It didn't worked.

Not sure which way to go.

Is there any other ways i can do the sync ?

I don't know for mongo specifically but if you have access to the application layer which is writing in Mongo, just send the same documents in elasticsearch at the same time you insert in mongo.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.