Re: [rsyslog] Is it possible to change the “syslogseverity-text”?
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”?
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.
[rsyslog] Is it possible to change the “syslogseverity-text”?
Hello, Is it possible to change the “syslogseverity-text”? Now I receiving “syslogseverity-text” as "emerg", "alert", "crit", "err", "warning", "notice", "info" etc. What I would like to do is to change the “syslogseverity-text” _before_ it is written to var/log/ For example, if “syslogseverity-text” is equal to “crit" then change it to “Critical Incident” or if a “syslogseverity-text” is "warning" then change it to “Priority 4 Incident” is that possible with rsyslog version 8.34? 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.