Re: [rsyslog] Is it possible to change the “syslogseverity-text”?

2018-04-12 Thread F Shad via rsyslog
Thank you, do you happen to have an example of the lookup table and/or 
configuration needed?  This will help me as I’ve never done such configuration 
before with rsyslog.

Thank you.
___
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.


Re: [rsyslog] Is it possible to change the “syslogseverity-text”?

2018-04-12 Thread David Lang

you can define a lookup table for this sort of thing

but keep in mind, the source logs don't have this text in them, they have the 
severity encoded as a number in the PRI field along with the facility


so rather than trying to convert logseverity-text, just have a lookup that 
converts the number to whatever text you want and store the result in a variable 
that you then use in your template

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