parse-json

Attempt to parse the payload field as JSON. On success, it emits the parsed object. On failure, it logs an error with surrounding text to aid troubleshooting.

Config

No configuration required.

Example

pipeline:
  parse-json:
    config: {}