![Black Box LS1016A User Manual Download Page 268](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435268.webp)
Syslog
268
BLACK BOX
®
Advanced Console Server
destination(D1); destination(D2);...
};
where :
Examples:
1) To send all messages received from local syslog clients to console:
log { source(sysl); destination(d_console);};
2) To send only messages with level alert and received from local syslog clients to all logged
root user:
log { source(sysl); filter(f_alert); destination(d_userroot); };
3) To write all messages with levels info, notice, or warning and received from syslog clients
(local and remote) to /var/log/messages file:
log { source(sysl); source(s_udp); filter(f_messages); destina-
tion(d_messages); };
4) To send e-mail if message received from local syslog client has the string “kernel panic”:
log { source(sysl); filter(f_kpanic); destination(d_mail1); };
5) To send e-mail and pager if message received from local syslog client has the string “root
login”:
log { source(sysl); filter(f_root); destination(d_mail1); destina-
tion(d_pager); };
6) To send messages with facility kernel and received from syslog clients (local and remote)
to remote syslogd:
Sx
Identifier of the sources defined before.
Fx
Identifier of the filters defined before.
Dx
Identifier of the actions/destinations defined before.