Structuring macros, metadata, and other value-pairs
Available in syslog-ng OSE 3.3 and later. The syslog-ng OSE application allows you to select and construct name-value pairs from any information already available about the log message, or extracted from the message itself.
You can directly use this structured information in components that consume name-value pairs, for example:
- destinations such as amqp(), mongodb(), and stomp();
- template functions such as format-json(), format-welf(), and format-cef-extension();
- parsers and rewrite rules such as map-value-pairs() and groupset();
- other components that accept value-pairs() configuration.
In destinations and other configuration options, use the value-pairs()
syntax. Template functions that support value-pairs use a command-line-like
syntax instead, for example --scope, --exclude, --key, and --pair.
For the complete list of selection, exclusion, pair, and transformation parameters, see the value-pairs options reference.