I got something in the message that can help, but I'd like to use it with the empty program attribute (being as specific as possible).

So there is no way to filtre an empty program attribute?

thanks.

2008/8/28 concatenate <infosec@gmail.com>
On Thu, Aug 28, 2008 at 8:17 AM, G R <ng.syslogng@gmail.com> wrote:
Hi!

I'm trying to filter some logs that have no program field.
kind of "logger -t '' " logs.

I've try to use
program("");
or
program(NULL);
as filter but none of them works.

How can I filter this empty program field logs ?

I would look for some other attributes of the messages. If you can't add the program field, and nothing else about the messages are unique, you might be in trouble.

As a last resort I've made particular hosts or types of devices (UNIX vs. network devices) send to different ports or IPs on the syslog box, then my source has an entirely different subset of messages. Perhaps that is an option.

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html