Try reading http://www.balabit.com/products/syslog_ng/reference/logpath.html You can use a log statement with the fallback flag to achieve what you need. i.e. source ext { tcp(port(514) max-connections(1024)); udp(port(514));}; ...your destination statements... destination unmatched { file("/var/log/unmatched");}; ...your log statements... log { source(ext);destination(unmatched);flags(fallback);}; The last log statements will log all 'unmatched by a previous rule' to the file /var/log/unmatched. Hope it helps. Amodiovalerio [Hypo] Verde ---------- Initial Header ----------- From : syslog-ng-admin@lists.balabit.hu To : syslog-ng@lists.balabit.hu Cc : Date : Mon, 23 Feb 2004 14:27:52 +0100 Subject : [syslog-ng]Logging not matched to filters
Hi
I have a lot of filters and they log fine.
I was wounding if it possible to make a logging that matches the rest, that isn't caught in a filter. So that if syslog-ng receives a log and it doesn't match any of the filters, it will log it into a file.
That way i don't miss a logging from a device, it would simple be in this separate file.
- Henning _______________________________________________ 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