[syslog-ng] [Bug 268] New: filter on tag does partial match
    bugzilla at bugzilla.balabit.com 
    bugzilla at bugzilla.balabit.com
       
    Wed Jan 22 23:57:44 CET 2014
    
    
  
https://bugzilla.balabit.com/show_bug.cgi?id=268
           Summary: filter on tag does partial match
           Product: syslog-ng
           Version: 3.4.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: erempel at uvic.ca
Type of the Report: ---
   Estimated Hours: 0.0
According to the documentation
-------
tags()
Synopsis:       tag
Description: Select messages labeled with the specified tag. Every message automatically has the tag of its source
in .source.<id_of_the_source_statement> format. This option is available only in syslog-ng 3.1 and later.
------------
I interpret this to mean that an exact and full match of the tag is required.
I have a tag on a message of "collection.required" and a filter
filter f_collection {
        tags("collection");
};
this filter matches the messages with the tag "collection.required" which I think is a bug.
I expect this filter on only match tags that exactly match "collection".
-- 
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