7.2.2.5.1. Procedure – Configure routers
To create a router click on
.Provide a name for the new router.
Select the components from the list of available sources, filters and destinations.
Example 7.2. Setting up a router If you select
base
as the source,postfix
as the filter (optional, use the small arrow between the text boxes) andsyslog
as the destination, the resulting router, that is, the log rule looks like this:log { source(s_base); filter(f_postfix); destination (d_syslog);flags ( ); };
Specify flags for the router.
The flags component is empty. Use the checkboxes at the bottom to select the flag. Three possible flags are available.
Final flag means that the processing of log statements ends at this point.
Note Ending the processing of log statements does not necessarily mean that matching messages are stored once, as there can be matching log statements processed prior to the current one.
Fallback flag marks a log statement for 'fallback'. Defining a fallback statement means that only those messages are sent which do not match any 'non-fallback' log statements.
Catchall flag means that the source of the message is ignored, only the filters are taken into account when matching messages.
Published on May 30, 2024
© BalaSys IT Ltd.
Send your comments to support@balasys.hu