Yeah, this is what I wanted to mention, $(grep) iterates over all the messages in the context and evaluates its arguments for all messages. $(grep <syslog-ng filter> $MSG) returns a comma delimited list of $MSG fields where the filter matches. This is the only function that actually iterates over the context, but we could do more of those. On Tue, Jul 8, 2014 at 11:54 AM, Fabien Wernli <wernli@in2p3.fr> wrote:
Hi,
I'm AFK for a while but did you check out the `grep` template function?
Cheers
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
-- Bazsi