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, meaning 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, making a log statement 'fallback'. Being a fallback statement means that only those messages that do not match any 'non-fallback' log statements are sent.
Catchall flag, meaning that the source of the message is ignored, only the filters are taken into account when matching messages.
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu