monstache

command module
v3.4.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2017 License: MIT Imports: 34 Imported by: 0

README

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.

Documentation

Overview

package main provides the monstache binary

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL