[syslog-ng] Filtre empty program

Balazs Scheidler bazsi at balabit.hu
Fri Aug 29 12:50:53 CEST 2008


On Fri, 2008-08-29 at 10:00 +0200, G R wrote:
> I've think I've found a solution.
> If the attribute program is empty, then the attributes $MSG and
> $MSGONLY should be equals.
> The filter function match() try to match the $MSG or $MSGONLY ?
> 
> Trying this doesn't work, but I think this can be the beginning of the
> solution : 
> 
> match($MSGONLY)
> or,
> match($MSG)
> depending on wich $MSG or $MSGONLY the filter function applies.

Isn't this what you are looking for?

program("^$")


-- 
Bazsi



More information about the syslog-ng mailing list