Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.06 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.06 KB

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:

  • Setting up replica sets

  • Passing --master to the mongod process

  • Setting the following in /etc/mongod.conf

     master = true
    

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.