mongodb

package
v0.0.0-...-691b052 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

README

MONGODB

Synopsys

SETTING TYPE REQUIRED DEFAULT VALUE
Collection string false ""
Database string false ""
GenerateId bool false false
Isodate bool false false
Retry_delay int false 0
Uri string false ""

Details

Collection
  • Value type is string
  • Default value is ""

The collection to use. This value can use %{foo} values to dynamically select a collection based on data in the event

Database
  • Value type is string
  • Default value is ""

The database to use

GenerateId
  • Value type is bool
  • Default value is false

If true, an "_id" field will be added to the document before insertion. The "_id" field will use the timestamp of the event and overwrite an existing "_id" field in the event

Isodate
  • Value type is bool
  • Default value is false

If true, store the @timestamp field in mongodb as an ISODate type instead of an ISO8601 string. For more information about this, see http://www.mongodb.org/display/DOCS/Dates

Retry_delay
  • Value type is int
  • Default value is 0

Number of seconds to wait after failure before retrying

Uri
  • Value type is string
  • Default value is ""

a MongoDB URI to connect to See http://docs.mongodb.org/manual/reference/connection-string/

Configuration blueprint

mongodb{
	collection => ""
	database => ""
	generateid => bool
	isodate => bool
	retry_delay => 123
	uri => ""
}

Documentation

Overview

Code generated by "bitfanDoc "; DO NOT EDIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() processors.Processor

Types

This section is empty.

Jump to

Keyboard shortcuts

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