[syslog-ng]log format

Paul Gamble - MWEB syslog-ng@lists.balabit.hu
Fri, 18 Jun 2004 10:58:41 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C45512.73FEB8C1
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm a syslog-ng newbie and so am hoping that this is not too much of a FA=
Q. A nod of thanks to the syslog-ng developers for syslog-ng btw!

I need to write a unix-socket-based destination server that will accept d=
ata from syslog-ng. Hence, I'm trying to find a documented definition of =
syslog-ng's log records as my server would receive them. Can anyone provi=
de a pointer or two as I cannot find this in the docs?

I have a test server that receives records of the following form: <22><st=
andard syslog log<22><another standard syslog record>, etc, etc
What is the meaning of <22>? Can I rely on this as a record separator?

Many thanks,
Paul

=A0
MWEB: S.A.'s most trusted and reliable Internet Service Provider. Just Li=
ke That.=20

To join, go to: http://join.mweb.co.za or call 0860032000.

------_=_NextPart_001_01C45512.73FEB8C1
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-885=
9-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.5.7226.0=
">
<TITLE>log format</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">I'm a syslog-ng newbie and so am hoping =
that this is not too much of a FAQ. A nod of thanks to the syslog-ng deve=
lopers for syslog-ng btw!</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I need to write a unix-socket-based dest=
ination server that will accept data from syslog-ng. Hence, I'm trying to=
=20find a documented definition of syslog-ng's log records as my server w=
ould receive them. Can anyone provide a pointer or two as I cannot find t=
his in the docs?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have a test server that receives recor=
ds of the following form: &lt;22&gt;&lt;standard syslog log&lt;22&gt;&lt;=
another standard syslog record&gt;, etc, etc</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">What is the meaning of &lt;22&gt;? Can I=
=20rely on this as a record separator?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Many thanks,</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Paul</FONT>
</P>


<TABLE cellSpacing=3D0 cellPadding=3D1 width=3D600 border=3D0>
=20 <TBODY>
=20 <TR>
=20   <TD>
=20     <P><FONT face=3Darial color=3D#000000 size=3D2><B></B></FONT>&nbs=
p;</P>
=20     <P><FONT face=3Darial color=3D#000000 size=3D2><B>M-WEB</B>: S.A.=
's most trusted=20
=20     and reliable Internet Service Provider. <B>Just Like=20
=20   that.</B></FONT></P></TD></TR>
=20 <TR>
=20   <TD align=3Dright bgColor=3D#ff9900><FONT face=3Darial color=3D#fff=
fff=20
=20     size=3D2><B>To join, <A href=3D"http://join.mweb.co.za" target=3D=
_blank><FONT=20
=20     color=3D#ffffff>click here</FONT></A> or call 08600=20
=20   32000.</B></FONT></FONT></TD></TR></TBODY></TABLE>
</BODY>
</HTML>=

------_=_NextPart_001_01C45512.73FEB8C1--