monstache
a go daemon which syncs mongodb to elasticsearch in near realtime
Install
You can download monstache binaries from the Releases page.
Or you can build monstache from source using go get
go get github.com/rwynn/monstache
Getting Started
Since monstache uses the mongodb oplog to tail events it is required that mongodb is configured to produce an oplog.
This can be ensured by doing one of the following:
You will also want to ensure that automatic index creation is not disabled in elasticsearch.yml.
monstache is not bi-directional. It only syncs from mongodb to elasticsearch.
Documentation
See the monstache site for information on configuration and usage.