On Thu, Sep 12, 2013 at 2:05 PM, Jonny Törnbom <[email protected]>wrote:

> 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?
>
>
yes, but TBH far from being at the top spot of the todo list - lots of more
frequently requested things. If it's urgent or there is a biz case behind
it, consider using our professional services to implement it. As of first
thought, doesn't sound like a big thing to do.

Rainer

> 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.
>
_______________________________________________
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