[syslog-ng] [Bug 207] New: HOST macro contains different data inside db_parser than in the config

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Oct 19 20:19:04 CEST 2012


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

           Summary: HOST macro contains different data inside db_parser than
                    in the config
           Product: syslog-ng
           Version: 3.3.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


When using the $HOST macro in the config file of syslog-ng the macro contains source at hostname type of data.
When using the $HOST macro inside the db_parser the macro contains just the hostname.

This is confusing.

I am not how fix this. I would not like to see the removal of the "source@" portion,
but I do want to have the raw hostname available.

Perhaps having a macro of $SOURCE that would have "source at hostname"
and make the $HOST have just the hostname. The FULLHOST will still have the chain of hosts, including
the $SOURCE, just like it has now.


-- 
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