Messages generated by the SYSLOG output format can be forwarded to any of the following three possible destinations:
The conf parameter of the
SYSLOG output format allows users to specify a configuration file
resembling the standard "syslog.conf" file that describes the rules
used to forward messages to different destinations.
These rules associate values of the facility and severity message fields
with specific Syslog servers, text files, or users.
Each line in a configuration file is either a comment beginning
with the pound character ("#"), or a configuration
entry.
Configuration entries have the following syntax:
<config_entry> | ::= | <selector> <action> |
<selector> | ::= | <facilities>.<severity> |
<facilities> | ::= | <facility>[,<facility> ... ] |
<facility> | ::= | kern | user | mail | daemon | auth | mark | lpr | news | uucp | cron | auth2 | ftp | ntp | logaudit | logalert | clock | local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7 | * |
<severity> | ::= | emerg | alert | crit | err | warning | notice | info | debug |
<action> | ::= | <send_server> | <send_file> | <send_user> |
<send_server> | ::= | @<server_name>[:<port>] |
<send_file> | ::= | <filepath> | STDOUT |
<send_user> | ::= | <user_name> |
An action can specify any of the following destinations:
The following example shows a SYSLOG output format configuration file:
# # Sample SYSLOG output format configuration file # auth.err @MYSERVER01 *.debug STDOUT *.info C:\MyLogs\Infos.txt kern.emerg MYUSER local0,local1.emerg @192.168.1.100:515This configuration file defines the following rules:
Actions can also be specified in the into-entity of the query.
These actions are processed as rules having a selector that matches
all messages, with a "*" facility value and an "emerg" severity
value.
© 2004 Microsoft Corporation. All rights reserved.