not sure if it has a config file for logging syslog via tcp, but there are some examples of logging via udp, here is an example to log udp and filter based on ip address, # Tucson # destination 12.9.1.226 { file("/var/syslog/Arizona/Tucson/JC-Tucson/redback/JC-Tucson.log"); }; filter f_12.9.1.226 { host(12.9.1.226); }; log { source(net); filter(f_12.9.1.226); destination(12.9.1.226); }; destination 12.126.138.90 { file("/var/syslog/Arizona/Tucson/JC-Tucson/router/JC-Tucson.log"); }; filter f_12.126.138.90 { host(12.126.138.90); }; log { source(net); filter(f_12.126.138.90); destination(12.126.138.90); }; Nate — do we have an example of syslog-ng config file for logging via tcp?
dbarber@tdschas.com 08/07/02 02:47PM >>> I must be missing something... Michael, can you point out in the FAQ where it has a link to or specific examples of a config log which uses tcp to log remotely?
thanks, Dan On Wed, 2002-08-07 at 14:22, Michael Earls wrote:
look at the FAQ page
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
dbarber@tdschas.com 08/07/02 02:12PM >>> Hi,
Does anyone have a simple example for a config file which will log all logs to a remote host via tcp?
or a site that has some examples?
thanks,
Dan
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html