On Mon, Jun 5, 2017 at 9:45 PM, William Dauchy <[email protected]> wrote:
> template(name="timereported_epoch" type="string"
> string="%$!timereported%" dataFormat="unixtimestamp")

I later figured out the right way to write the template:

template(name="timereported_epoch" type="string"
string="%$!timereported:::date-unixtimestamp%")

but I am still unable to print a result in another template
-- 
William
_______________________________________________
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