[syslog-ng] Character Conversion Question

Balazs Scheidler bazsi at balabit.hu
Sat Feb 6 17:01:53 CET 2010


On Fri, 2010-01-22 at 10:38 -0500, James B Horwath wrote:
> 
> I am using SNARE to send messages to syslog-ng (2.0.9).  There are
> fields in the messages separated by a TAB (0x9).  When syslog-ng
> writes this out to a file it convert the hexadecimal (0x9) to \011
> (literally slash, zero, one, one).  This makes the lines hard to
> read.  How can I either convert the TAB to a space or preserve the TAB
> in the output.  Preserving the TAB would be my preference. 
> 
> I did not see anything in the documentation except writing a regex to
> convert the character. 

This escaping is only performed if template-escape(yes) is set on the
template that generates the message.

Maybe you could turn that off?

-- 
Bazsi




More information about the syslog-ng mailing list