[syslog-ng] [Bug 172] tcp() destination driver ignores ts_format() parameter

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Mon Apr 16 11:20:04 CEST 2012


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


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frobert at balabit.hu




--- Comment #1 from Balazs Scheidler <bazsi at balabit.hu>  2012-04-16 11:20:03 ---
Like discussed on the mailing list, I feel this is a documentation bug. The current behaviour is correct.

You can however change the timestamp used by using a custom template, either defined globally or at the destination.

e.g.:

template t_isostamp { template("$ISODATE $HOST $MSGHDR$MSG\n"); };

options { proto-template(t_isostamp); };

OR:

destination d_tcp { tcp("1.2.3.4" template("$ISODATE $HOST $MSGHDR$MSG\n")); };

Robi, can you please update this in the documentation?
Thanks.


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