Leif X. Sorman wrote:

Hello.
I’m receiving syslog messages via UDP and write it to omjournal.
Is it possible to replace the timestamp timegenerated with timereported?
I haven’t found a way to do this when using omjournal as output.
BR Leif.

normally this would be as simple as changing the template that you use

but per https://www.rsyslog.com/doc/configuration/modules/omjournal.html

it looks like omjournal doesn't use a very extensive template, I don't know if you could change the timestamp via the template or not.

David Lang
_______________________________________________
rsyslog mailing list
https://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