[syslog-ng] [Bug 146] pdbtool match does not display tags

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Dec 9 21:41:26 CET 2011


https://bugzilla.balabit.com/show_bug.cgi?id=146


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |FIXED
             Status|NEW                         |RESOLVED




--- Comment #1 from Balazs Scheidler <bazsi at balabit.hu>  2011-12-09 21:41:25 ---
I've added this output to pdbtool with this patch:

commit 32b7d63aa5074551c84ac62ec023b84c7274ce39
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Fri Dec 9 21:38:17 2011 +0100

    pdbtool match: added the value of the TAGS macro if a message matches

    The TAGS values assigned by patterndb is an important output, which
    wasn't displayed so far.

    This patch adds
    TAGS=...

    line for each matched message.

    Reported-By: Evan Rempel <erempel at uvic.ca>
    Signed-off-by: Balazs Scheidler <bazsi at balabit.hu>

Even without that, you can always use a custom template to add this information.

pdbtool match -p ... --template "[$TAGS] $DATE $HOST $MSGHDR$MSG\n"


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list