[syslog-ng]host() expression

Balazs Scheidler bazsi@balabit.hu
Mon, 4 Feb 2002 16:03:48 +0100


On Wed, Jan 30, 2002 at 03:47:35PM -0800, Chuck Kelly wrote:
> I would like to be able to create a single filter for multiple hosts. Can
> someone help me with the syntax.
> 
> i.e. filter f_sec1  { program(sudo) and host(host1 or host2 or host3) ; };

filter f_sec1 { program("sudo") and host("host1|host2|host3"); };

or something like this.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1