Skip to content

a go daemon which syncs mongodb to elasticsearch in neal realtime

License

Notifications You must be signed in to change notification settings

gophersgang/monstache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a go daemon which syncs mongodb to elasticsearch in neal realtime

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.8%
  • Makefile 2.2%