Module Name: mmnormalize
Available since: 6.1.2+
Author: Rainer Gerhards <rgerhards@adiscon.com>
Description:
This module provides the capability to normalize log messages via liblognorm. Thanks to liblognorm, unstructured text, like usually found in log messages, can very quickly be parsed and put into a normal form. This is done so quickly, that it should be possible to normalize events in realtime.
This module is implemented via the output module interface. This means that mmnormalize should be called just like an action. After it has been called, the normalized message properties are avaialable and can be accessed. These properties are called the "CEE/lumberjack" properties, because liblognorm creates a format that is inspired by the CEE/lumberjack approach.
Please note: CEE/lumberjack properties are different from regular properties. They have always "$!" prepended to the property name given in the rulebase. Such a property needs to be called with %$!propertyname%.
Note that mmnormalize should only be called once on each message. Behaviour is undefined if multiple calls to mmnormalize happen for the same message.
Action Parameters:
Legacy Configuration Directives:
None known at this time.
Sample:
This activates the module and applies normalization to all messages:
The same in legacy format:
[rsyslog.conf overview] [manual index] [rsyslog site]
This documentation is part of the
rsyslog
project.
Copyright © 2010-2012 by Rainer
Gerhards and
Adiscon.
Released under the GNU GPL version 3 or higher.