[rsyslog-notify] Forum Thread: Re: Property Replacer %fromhost-ip% - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Fri Aug 26 13:53:36 CEST 2016


User: dlang 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26912#p26912

Message: 
----------
I would suggest that a better option would be to create a string module
that    
would create a new template to use that would use $.hostname if it's
defined,   
and if not use $hostname and do the same with syslogtag, pri andtimestamp.

That way, if you want to override soemthing, you just set the appropriate
$.    
variable and use the correct template.


More information about the rsyslog-notify mailing list