<div dir="ltr">That was quick. That did it.  I feel foolish now. Thanks a lot Evan<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 3:26 AM, Evan Rempel <span dir="ltr">&lt;<a href="mailto:erempel@uvic.ca" target="_blank">erempel@uvic.ca</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You should be able to use the frac_digits(3); global option (or on a destination).<br>
<br>
Evan.<br>
<div class="im"><br>
On 04/04/2013 02:46 PM, Abhijeet Rastogi wrote:<br>
&gt; I&#39;ve even even tried using custom template like:<br>
&gt;<br>
&gt; template t_both_timestamps {<br>
&gt;       template(&quot;$R_ISODATE $HOST $S_ISODATE $MSG\n&quot;); template_escape(no);<br>
&gt; };<br>
&gt;<br>
&gt; It still gave me a timestamp like 2013-04-05T03:14:27+00:00.<br>
&gt;<br>
&gt;<br>
&gt; What is it that I&#39;m doing wrong?<br>
&gt;<br>
&gt;<br>
</div><div class="im">&gt; On Fri, Apr 5, 2013 at 3:02 AM, Abhijeet Rastogi &lt;<a href="mailto:abhijeet.1989@gmail.com">abhijeet.1989@gmail.com</a> &lt;mailto:<a href="mailto:abhijeet.1989@gmail.com">abhijeet.1989@gmail.com</a>&gt;&gt; wrote:<br>


&gt;<br>
&gt;     Hi,<br>
&gt;<br>
&gt;     I want to get a complete ISO8601 timestamp format in syslog-ng. Something like: 2013-04-04T18:44:34.694692+00:00<br>
&gt;<br>
&gt;     When I enable, ts_format(&quot;iso&quot;), I&#39;m not able to get milliseconds precision and what I get is something like 2013-04-05T02:57:07+00:00<br>
&gt;<br>
&gt;     For some reason, I really need milliseconds resolution. How can I achieve that in syslogn-ng?<br>
&gt;<br>
&gt;     --<br>
&gt;     Regards,<br>
&gt;     Abhijeet Rastogi (shadyabhi)<br>
&gt;     <a href="http://blog.abhijeetr.com" target="_blank">http://blog.abhijeetr.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Regards,<br>
&gt; Abhijeet Rastogi (shadyabhi)<br>
&gt; <a href="http://blog.abhijeetr.com" target="_blank">http://blog.abhijeetr.com</a><br>
&gt;<br>
&gt;<br>
</div>&gt; ______________________________________________________________________________<br>
&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; 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>
&gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Evan Rempel                                      <a href="mailto:erempel@uvic.ca">erempel@uvic.ca</a><br>
Senior Systems Administrator                        <a href="tel:250.721.7691" value="+912507217691">250.721.7691</a><br>
Data Centre Services, University Systems, University of Victoria<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.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Regards,<br>Abhijeet Rastogi (shadyabhi)<br><a href="http://blog.abhijeetr.com" target="_blank">http://blog.abhijeetr.com</a></div>
</div>