Jason Nordwick
2018-10-26 21:42:44 UTC
Is there a way to get nanoseconds in and out of rsyslog? I'm using
dateformat rfc3339, and it works find for micros, but at nanos, the
timestamp gets correupted:
property(name="timereported" dateFormat="rfc3339")
Also, when writing out json formatted fields, is there a way to print out a
numeric property? I would like to make syslogseverity a number, but I have
been unsuccessful in creating a numeric json field. My workaround is to
handcraft the entire json payload instead of using the jsonf option on the
template.
Thanks,
Jason
_______________________________________________
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.
dateformat rfc3339, and it works find for micros, but at nanos, the
timestamp gets correupted:
property(name="timereported" dateFormat="rfc3339")
Also, when writing out json formatted fields, is there a way to print out a
numeric property? I would like to make syslogseverity a number, but I have
been unsuccessful in creating a numeric json field. My workaround is to
handcraft the entire json payload instead of using the jsonf option on the
template.
Thanks,
Jason
_______________________________________________
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.