Hi,<div><br></div><div>Using keep_timestamp(no) on your source definition will cause syslog-ng to generate the timestamp at the time the message is received. You can also use templates and the $R_ISODATE macro.<br>
<br><div class="gmail_quote">On Wed, Aug 18, 2010 at 5:22 AM, Gregers <span dir="ltr">&lt;<a href="mailto:gpnster@gmail.com" target="_blank">gpnster@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">










<div lang="DA" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:10.0pt">Aug
18 02:16:15 SRC_IP HOST %OrionAlertEngine: &quot;BLA BLA BLA message”</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt"> </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">I
receives this kind of messages quite often. My problem is that it is a
perfectly fine header and tag, but the original timestamp is in AM/PM format. How
can I force syslog-ng to relay this message with the timestamp from the
relaying host(which uses 24 hour format), instead of the sending host?                                       
</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt"> </span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">TIA</span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">Gregers</span></p>

</div>

<br>
______________________________________________________________________<br>
This email has been scanned by the MessageLabs Email Security System.<br>
For more information please visit <a href="http://www.messagelabs.com/email" target="_blank">http://www.messagelabs.com/email</a> <br>
______________________________________________________________________<br>
</div>


<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lance Laursen<br>Demonware Systems Engineer<br>
</div>