<br><br>On Sunday, May 27, 2012, Balazs Scheidler <<a href="mailto:bazsi77@gmail.com">bazsi77@gmail.com</a>> wrote:<br>> On Fri, 2012-05-25 at 08:43 +0200, C. L. Martinez wrote:<br>>> On Thu, May 24, 2012 at 2:32 PM, C. L. Martinez <<a href="mailto:carlopmart@gmail.com">carlopmart@gmail.com</a>> wrote:<br>
>> > Hi all,<br>>> ><br>>> > I am trying to parse some Ironport logs to cacth mutliple destination<br>>> > recipients using grep in value option:<br>>> ><br>>> > recipient: $(grep ("${to_address}" != "") ${to_address})<br>
>> ><br>>> > but it doesn't works ...<br>>> ><br>>> > What am I doing wrong?? I am using syslog-ng 3.3.5 under CentOS6.<br>>> ><br>><br>> $(grep) is a template function, that only makes sense to be used in a<br>
> patterndb correllation rule.<br>><br><br>That's exactly what i need. I need to use inside a pattern to correlate mail logs.<br><br>> Are you using it in that context? Otherwise you'd proably be looking for<br>
> a simple filter.<br><br>A filter? I don't see how to do this inside a pattern<br><br>><br>> --<br>> Bazsi<br>><br>><br>> ______________________________________________________________________________<br>
> Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>> Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
> FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>><br>>