[syslog-ng] Convert rewrite rules (regex) to patterndb
Fabien Wernli
wernli at in2p3.fr
Thu Jan 26 07:24:25 UTC 2017
Hi Clayton,
On Wed, Jan 25, 2017 at 10:29:08PM +0000, Clayton Dukes wrote:
> Are there any tools/scripts anyone has written that will convert regex to patterndb types of matches?
> So, given some rewrite rule from the "old" way of doing it, convert that rule to a pdb file.
I'm afraid the two are too semantically different to automatize the process.
That being said, there is a `@PCRE@` pattern that might help, but as far as
I can remeber it won't capture groups.
Cheers
More information about the syslog-ng
mailing list