<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000066">
Sent: Wed Dec 21 2011 03:19:38 GMT-0500 (EST)<br>
From: VÁMOS Balázs <a class="moz-txt-link-rfc2396E" href="mailto:vamos.balazs@zuriel.hu"><vamos.balazs@zuriel.hu></a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a> <br>
Subject: [syslog-ng] Can I put all the parsed fields into a
destination template?
<blockquote cite="mid:4EF1969A.6010208@zuriel.hu" type="cite">
<pre wrap="">Hi,
I would like to forward the parsed fields to LOGalyze in an unstructured
way. Is it possible to create a serialized object (JSON or something
like that) after parsing message with patterndb?
</pre>
</blockquote>
Take a look at the format-json function, might be what youre after.<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/syslog-ng-ose-v3.3-guide-admin-en.html/index.html-single.html#template-function-format-json">http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/syslog-ng-ose-v3.3-guide-admin-en.html/index.html-single.html#template-function-format-json</a><br>
<br>
-Patrick<br>
</body>
</html>