[syslog-ng] Filtre empty program

G R ng.syslogng at gmail.com
Fri Aug 29 08:29:45 CEST 2008


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 at gmail.com>

> On Thu, Aug 28, 2008 at 8:17 AM, G R <ng.syslogng at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20080829/788f2ffc/attachment.htm 


More information about the syslog-ng mailing list