Stringify Processor

Description

This processor renders any JSON object into a single string. You can only apply this processor to the entire event rather than fields within the event.

Use

This processor is used for cases when a subsequent processing step requires a string as input. This can include destinations such as Mezmo Log Analysis, or Processors such as the Encrypt processor.

The output of this processor takes any structured input event and outputs it as a text string.

Example

BeforeAfter

`{

"host": "localhost", `

"port": 3030,

"public": "../public/",

"paginate": {

"default": 10,

"max": 50

},

"mongodb": "mongodb://localhost:27017/api"

}

{ "host": "localhost", "port": 3030, "public": "../public/", "paginate": { "default": 10, "max": 50 }, "mongodb": "mongodb://localhost:27017/api" }
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated