2016-04-19 20:50 GMT+02:00 David Lang <[email protected]>:
> I know that there is the ability to format a timestamp as a unix time value,
> but is there a way to take a variable that contains the unix time value and
> output it as a human readable string?

I don't think so, but it should be easy to add as a RainerScript
function. Can you open a feature enhancement PR?
>
> i.e. if $!foo = "1454527741918"
> output "Feb 23 11:51:58"
>
> David Lang
>
>
> _______________________________________________
> 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.
_______________________________________________
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