mongodb

Synopsys

mongodb {
}

Available settings

Setting Type Info Default value
collection string ""
database string ""
generateid bool false
isodate bool false
retry_delay int 0
uri string ""

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/

    Full configuration blueprint

    Expand me...