[syslog-ng] Logging only if phrase found

Jakub Jankowski shasta at toxcorp.com
Fri May 20 02:52:54 CEST 2011


On 2011-05-18, Sebastian Deißner wrote:
> Am 18.05.2011 18:50, schrieb Sebastian Deißner:
>>
>> filter f_connect { match ("/connect/");};
>
> I got it - very simple:
>
> filter f_connect { match (".*connect.*");};

Actually, in terms of regular expressions, this is equal to match("connect").


HTH

-- 
Jakub Jankowski|shasta at toxcorp.com|http://toxcorp.com/
GPG: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D


More information about the syslog-ng mailing list