[syslog-ng] external configuration file syntex

Jain, Vaibhav (GE Healthcare) Vaibhav.Jain at ge.com
Mon Aug 24 11:32:22 CEST 2009


Hi,

I am using syslog-ng open source 3.0.3-1 ( rhel5.amd64) version. I am
sending all the logs to a tcp port.i am using destination ip address. I
want to read this information from a external config file so that user
does not need to open and modify this file for differnet IP address.
Please let me know how to use external config file in syslog-ng.conf
file and how to use the these variable values in the syslog-ng file.
Please send me a example.

destination d_messages {
	                syslog("2.34.56.78" transport("tcp") port(601));
			     }

- V


More information about the syslog-ng mailing list