<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"><<a href="mailto:erempel@uvic.ca" target="_blank">erempel@uvic.ca</a>></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>
> I've even even tried using custom template like:<br>
><br>
> template t_both_timestamps {<br>
> template("$R_ISODATE $HOST $S_ISODATE $MSG\n"); template_escape(no);<br>
> };<br>
><br>
> It still gave me a timestamp like 2013-04-05T03:14:27+00:00.<br>
><br>
><br>
> What is it that I'm doing wrong?<br>
><br>
><br>
</div><div class="im">> On Fri, Apr 5, 2013 at 3:02 AM, Abhijeet Rastogi <<a href="mailto:abhijeet.1989@gmail.com">abhijeet.1989@gmail.com</a> <mailto:<a href="mailto:abhijeet.1989@gmail.com">abhijeet.1989@gmail.com</a>>> wrote:<br>
><br>
> Hi,<br>
><br>
> I want to get a complete ISO8601 timestamp format in syslog-ng. Something like: 2013-04-04T18:44:34.694692+00:00<br>
><br>
> When I enable, ts_format("iso"), I'm not able to get milliseconds precision and what I get is something like 2013-04-05T02:57:07+00:00<br>
><br>
> For some reason, I really need milliseconds resolution. How can I achieve that in syslogn-ng?<br>
><br>
> --<br>
> Regards,<br>
> Abhijeet Rastogi (shadyabhi)<br>
> <a href="http://blog.abhijeetr.com" target="_blank">http://blog.abhijeetr.com</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Regards,<br>
> Abhijeet Rastogi (shadyabhi)<br>
> <a href="http://blog.abhijeetr.com" target="_blank">http://blog.abhijeetr.com</a><br>
><br>
><br>
</div>> ______________________________________________________________________________<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>
<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>