Hello List:

A quick question about casting time values.

set $.my_tstamp = $timereceived;

This results in $.my_tstamp being in format "Feb 12 13:52:35" when the property value is output in a template.

This remains true even if dateFormat="rfc3339" is specified for the field in the template.  property(name="$.my_tstamp" dateFormat="rfc3339")

Question: What can I do to have the result of the set statement be in the RFC3339 time format "2020-02-12T13:52:35.391-06:00"?

Thanks in advance!

Regards,

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to