Usage of /usr/bin/monstache: -backoff-exempt-status-codes value HTTP status codes that must not initiate backoff -change-stream-namespace value A list of change stream namespaces -cluster-name string Name of the monstache process cluster -config-database-name string The MongoDB database name that monstache uses to store metadata -debug True to enable verbose debug information -delete-index-pattern string An Elasticsearch index-pattern to restric the scope of stateless deletes -delete-strategy value Stategy to use for deletes. 0=stateless,1=stateful,2=ignore -direct-read-bounded True to limit direct reads to the docs present at query start time -direct-read-concur int Max number of direct-read-namespaces to read concurrently. By default all givne are read concurrently -direct-read-dynamic-exclude-regex string A regex to use for excluding namespaces when using dynamic direct reads -direct-read-dynamic-include-regex string A regex to use for including namespaces when using dynamic direct reads -direct-read-namespace value A list of direct read namespaces -direct-read-no-timeout True to set the no cursor timeout flag for direct reads -direct-read-split-max int Max number of times to split a collection for direct reads -direct-read-stateful True to mark direct read namespaces as complete and not sync them in future runs -disable-change-events True to disable listening for changes. You must provide direct-reads in this case -disable-delete-protection True to disable delete protection and allow multiple deletes in Elasticsearch per event in MongoDB -disable-file-pipeline-put True to disable auto-creation of the ingest plugin pipeline -dropped-collections True to delete indexes from dropped collections (default true) -dropped-databases True to delete indexes from dropped databases (default true) -elasticsearch-api-key string Base64 encoded elasticsearch APIKey value -elasticsearch-client-timeout int Number of seconds before a request to Elasticsearch is timed out -elasticsearch-max-bytes int Number of bytes to hold before flushing to Elasticsearch -elasticsearch-max-conns int Elasticsearch max connections -elasticsearch-max-docs int Number of docs to hold before flushing to Elasticsearch -elasticsearch-max-seconds int Number of seconds before flushing to Elasticsearch -elasticsearch-password string The elasticsearch password for basic auth -elasticsearch-pem-file string Path to a PEM file for secure connections to elasticsearch -elasticsearch-retry True to retry failed request to Elasticsearch -elasticsearch-url value A list of Elasticsearch URLs -elasticsearch-user string The elasticsearch user name for basic auth -elasticsearch-validate-pem-file Set to boolean false to not validate the Elasticsearch PEM file (default true) -elasticsearch-version string Specify elasticsearch version directly instead of getting it from the server -enable-easy-json True to enable easy-json serialization -enable-http-server True to enable an internal http server -enable-oplog True to enable direct tailing of the oplog -enable-patches True to include an json-patch field on updates -env-delimiter string A delimiter to use when splitting environment variable values (default ",") -exit-after-direct-reads True to exit the program after reading directly from the configured namespaces -f string Location of configuration file -fail-fast True to exit if a single _bulk request fails -file-downloaders int GridFs download go routines -file-highlighting True to enable the ability to highlight search times for a file query -file-namespace value A list of file namespaces -graylog-addr string Send logs to a Graylog server at this address -gzip True to enable gzip for requests to Elasticsearch -http-server-addr string The address the internal http server listens on -index-as-update True to index documents as updates instead of overwrites -index-files True to index gridfs files into elasticsearch. Requires the elasticsearch mapper-attachments (deprecated) or ingest-attachment plugin -index-oplog-time True to add date/time information from the oplog to each document when indexing -index-stats True to index stats in elasticsearch -mapper-plugin-path string The path to a .so file to load as a document mapper plugin -max-file-size int GridFs file content exceeding this limit in bytes will not be indexed in Elasticsearch -merge-patch-attribute string Attribute to store json-patch values under -mongo-config-url string MongoDB config server connection URL -mongo-oplog-collection-name string Override the collection name which contains the mongodb oplog -mongo-oplog-database-name string Override the database name which contains the mongodb oplog -mongo-url string MongoDB server or router server connection URL -mongo-write-url string MongoDB connection URL for writing monstache state -namespace-drop-exclude-regex string A regex which is matched against a drop operation's namespace (.). Only drop operations which do not match are synched to elasticsearch -namespace-drop-regex string A regex which is matched against a drop operation's namespace (.). Only drop operations which match are synched to elasticsearch -namespace-exclude-regex string A regex which is matched against an operation's namespace (.). Only operations which do not match are synched to elasticsearch -namespace-regex string A regex which is matched against an operation's namespace (.). Only operations which match are synched to elasticsearch -oplog-date-field-format string Format to use for the oplog date -oplog-date-field-name string Field name to use for the oplog date -oplog-ts-field-name string Field name to use for the oplog timestamp -patch-namespace value A list of patch namespaces -pipe-allow-disk True to allow MongoDB to use the disk for pipeline options with lots of results -post-processors int Number of post-processing go routines -pprof True to enable pprof endpoints -print-config Print the configuration and then exit -prune-invalid-json True to omit values which do not serialize to JSON such as +Inf and -Inf and thus cause errors -relate-buffer int Number of relates to queue before skipping and reporting an error -relate-threads int Number of threads dedicated to processing relationships -replay True to replay all events from the oplog and index them in elasticsearch -resume True to capture the last timestamp of this run and resume on a subsequent run -resume-from-earliest-timestamp Automatically select an earliest timestamp to resume syncing from -resume-from-timestamp int Timestamp to resume syncing from -resume-name string Name under which to load/store the resume state. Defaults to 'default' -resume-strategy value Strategy to use for resuming. 0=timestamp,1=token -resume-write-unsafe True to speedup writes of the last timestamp synched for resuming at the cost of error checking -routing-namespace value A list of namespaces that override routing information -stats True to print out statistics -stats-duration string The duration after which stats are logged -stats-index-format string time.Time supported format to use for the stats index names -time-machine-direct-reads True to index the results of direct reads into the any time machine indexes -time-machine-index-prefix string A prefix to preprend to time machine indexes -time-machine-index-suffix string A suffix to append to time machine indexes -time-machine-namespace value A list of direct read namespaces -tpl True to interpret the config file as a template -v True to print the version number -verbose True to output verbose messages -worker string The name of this worker in a multi-worker configuration -workers value A list of worker names