Skip to content

C-Datalab/monstache

Repository files navigation

monstache

a go daemon that syncs mongodb to elasticsearch in realtime

Build Status Go Report Card

Features

  • Supports up to and including the latest versions of Elasticsearch and MongoDB

  • Single binary with a light footprint

  • Optionally filter the set of collections to sync

  • Advanced support for sharded MongoDB clusters including auto-detection of new shards

  • Direct read mode to do a full sync of collections in addition to tailing the oplog

  • Transform and filter documents before indexing using Golang plugins or JavaScript

  • Index the content of GridFS files

  • Support for hard and soft deletes in MongoDB

  • Support for propogating database and collection drops

  • Optional custom document routing in Elasticsearch

  • Stateful resume feature

  • Worker and Clustering modes for High Availability

  • Support for rfc7396 JSON merge patches

  • Systemd support

  • Optional http server to get access to liveness, stats, etc

Documentation

See the monstache site for information on configuration and usage.