[syslog-ng] Please help getting patterndb working.

Fabien Wernli wernli at in2p3.fr
Tue Dec 17 12:31:10 CET 2013


Hi,

Your pattern is wrong, and doesn't match your example.
First of all, add a "program" attribute to your test_message.
Second, use 'pdbtool' to test your pdb.
Third, correct your pattern :)
Fourth, use 'pdbtool' to parse your logfile for you.

Hint: look up the documnentation for QSTRING pattern, and also look at
@ESTRING

cheers



More information about the syslog-ng mailing list