![Black Box LS1016A User Manual Download Page 258](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435258.webp)
Syslog
258
BLACK BOX
®
Advanced Console Server
Task 2: Define sources.
To define sources use this statement:
source <identifier> { source-driver([params]); source
driver([params]); ...};
where:
The following source-drivers are available:
identifier
Has to uniquely identify this given source.
source-driver
Is a method of getting a given message.
params
Each source-driver may take parameters. Some of them are
required, some of them are optional.
a) internal()
Messages are generated internally in syslog-ng.
b) unix-stream
(filename [options])
and
unix-dgram
(filename [options])
They open the given AF_UNIX socket, and start listening for mes-
sages.
Options: owner(name), group(name), perm(mask) are equal glo-
bal options
keep-alive(yes/no)
- Selects whether to keep connections
opened when syslog-ng is restarted. Can be used only with
unix_stream. Default: yes
max-connections(n)
- Limits the number of simultaneously
opened connections. Can be used only with unix_stream.
Default: 10.