[syslog-ng] external configuration file

Michael Fernández M. michael.fernandez at microserv.cl
Tue Jan 23 22:07:54 CET 2007


Hi...

i have a big syslog-ng.conf file, because of the many filters and
destinations that i´m already using. So my question is: can i use a file
that`s contains all the filter for a specific device, another file for
the destinations?


something like:

file_with_filter_a "(/etc/syslog-ng/filters/host_a)"

file_with_filter_b "(/etc/syslog-ng/filters/host_b)"

file_with_destinations "(/etc/syslog-ng/destinations/host_b)"

then in the syslog-ng.conf only have to "call" those files?, and not put
all the filters and destinations inside the same syslog-ng.conf?


Thanks!!!!

Michael.-







More information about the syslog-ng mailing list