bpaquet/node-logstash — pull request #30 by rbernon (2013-05-03 09:43:53+00:00)
Title: Support JSON-formatted messages using json_fields filter.

The json_fields plugin will try to parse the message payload as a JSON
object, starting from the first `{` character found in the message.

If successful, the parsed data is merged to the `@fields` attribute,
eventually overwritting existing conflicting-attributes, but keeping
any non-conflicting attribute.

This allows to automatically index the message payload in elasticsearch,
without having to maitain patterns, as long as the logging application
speaks JSON.