<div dir="auto">That one captures the entire match as one name value pair.<div dir="auto"><br></div><div dir="auto">But I guess @NUMBER@ parser would be useful.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 26, 2017 08:24, "Fabien Wernli" <<a href="mailto:wernli@in2p3.fr">wernli@in2p3.fr</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Clayton,<br>
<br>
On Wed, Jan 25, 2017 at 10:29:08PM +0000, Clayton Dukes wrote:<br>
> Are there any tools/scripts anyone has written that will convert regex to patterndb types of matches?<br>
> So, given some rewrite rule from the "old" way of doing it, convert that rule to a pdb file.<br>
<br>
I'm afraid the two are too semantically different to automatize the process.<br>
That being said, there is a `@PCRE@` pattern that might help, but as far as<br>
I can remeber it won't capture groups.<br>
<br>
Cheers<br>
<br>
______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
</blockquote></div></div>