[syslog-ng] Please help getting patterndb working.

Fabien Wernli wernli at in2p3.fr
Tue Dec 17 13:19:51 CET 2013


Hi,

On Tue, Dec 17, 2013 at 12:07:41PM +0000, Nick wrote:
> [1] I have added a program attribute.

Note that the "program" attribute of "test_message" needs to match the
rule's "pattern" text if you want a match.
 
> [3] I agree that the pattern is wrong, the output above shows that but

Try the following: https://gist.github.com/faxm0dem/b2c87efb098b4aba1969

> [4] I assume you mean "pdbtool patternize -f testfile.log" ? I'm not
> sure how that helps...

Actually I meant 'pdbtool match'

Sadly, 'patternize' failed to help me in the past, maybe someone else can
comment on that.



More information about the syslog-ng mailing list