Hi,

We are in the progress of upgrading from rsyslog 5.8.11 to 7.4.4 and
previously we used a string generator module to output the format we
wanted.

To simplify, what we want is a way of specifying a text field to always
be, for instance, 15 chars wide in output, no matter if severity-text
contains only 5 chars. This is basically so that the output is aligned
nicely.

I would like to be able to do this with a template only:

2013-01-01T11:11:11.123456+00:00 hostname NOTICE  app[pid]: message
2013-01-01T11:11:11.123456+00:00 hostname ERR     app[pid]: message

Do you think this is possible?

Thanks.

Br,
Jonny
_______________________________________________
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