<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<pre style="word-wrap:break-word; font-size:10.0pt; font-family:Tahoma; color:black">so the syntax would be
<action condition="$(context-length) == $num">
wher $num is some macro from the pattern used to match a line.
Is that correct?
Sent from my ASUS Pad
Balazs Scheidler <bazsi77@gmail.com> wrote:
</pre>
<div>
<p><br>
as far as I remember, yes it did. It is a template function and not a macro. <br>
<br>
it is called $(context-length) <br>
<br>
----- Original message ----- <br>
> <br>
> Did the ability to trigger on matches of the number of messages in the <br>
> context every get merged into 3.4? <br>
> <br>
> I'm at a point where I could really use this functionality :-) <br>
> <br>
> <br>
> <a href="https://lists.balabit.hu/pipermail/syslog-ng/2012-November/019691.html">
https://lists.balabit.hu/pipermail/syslog-ng/2012-November/019691.html</a> <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: <br>
> <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a> FAQ:
<br>
> <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a>
<br>
> <br>
<br>
</p>
</div>
</body>
</html>