[Bug 146] New: pdbtool match does not display tags
https://bugzilla.balabit.com/show_bug.cgi?id=146 Summary: pdbtool match does not display tags Product: syslog-ng Version: 3.3.x Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: unspecified Component: syslog-ng AssignedTo: bazsi@balabit.hu ReportedBy: erempel@uvic.ca Type of the Report: bug Estimated Hours: 0.0 When using the pdbtool match command the tags of a message are not displayed. % pdbtool match -M "Fri Nov 25 00:00:29.618 2011: Accepted and connected to 172.20.102.38 hermes0080 <c0n350>" -p mmfs.xml --program=mmfs MESSAGE=Fri Nov 25 00:00:29.618 2011: Accepted and connected to 172.20.102.38 hermes0080 <c0n350> PROGRAM=mmfs .classifier.class=security .classifier.rule_id=463e34dd-f946-4f25-9cd2-9c00e25eba4c .net.destination.address=172.20.102.38 .net.destination.name=hermes0080 .mmfs.node=c0n350 application=mmfs -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=146 Balazs Scheidler <bazsi@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution| |FIXED Status|NEW |RESOLVED --- Comment #1 from Balazs Scheidler <bazsi@balabit.hu> 2011-12-09 21:41:25 --- I've added this output to pdbtool with this patch: commit 32b7d63aa5074551c84ac62ec023b84c7274ce39 Author: Balazs Scheidler <bazsi@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@uvic.ca> Signed-off-by: Balazs Scheidler <bazsi@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.
participants (1)
-
bugzilla@bugzilla.balabit.com