![Black Box LS1016A User Manual Download Page 269](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435269.webp)
Chapter 3 - Additional Features
User Guide
269
log { source(sysl); source(s_udp); filter(f_kern); destination(d-
udp1); };
Syslog-ng Configuration to use with Syslog Buffering Feature
This configuration example uses the syslog buffering feature, and sends messages to the
remote syslogd (10.0.0.1).
Step 1: Configure pslave.conf parameters.
In the pslave.conf file the parameters of the syslog buffering feature are configured
as:
conf.DB_facility 1
all.syslog_buffering 100
Step 2: Add lines to syslog-ng.conf.
Add the following lines by vi or browser to the file:
# local syslog clients
source src { unix-stream("/dev/log"); };
destination d_buffering { udp("10.0.0.1"); };
filter f_buffering { facility(local1) and level(notice); };
# send only syslog_buffering messages to remote server
log { source(src); filter(f_buffering); destina-
tion(d_buffering); };
Syslog-ng Configuration to use with Multiple Remote Syslog Servers
This configuration example is used with multiple remote syslog servers.
Step 1: Configure pslave.conf parameters.
In the pslave.conf file the facility parameter is configured as:
conf.facility 1
Step 2: Add lines to syslog-ng.conf.
The syslog-ng.conf file needs these lines:
# local syslog clients