HI
  default properties like msg rawmsg ... are readonly and you cannot change
them, use should use custom variables like: $.<varname> or $!<varname>
  then use templates to form output string and send it to destination/file.

 set $.myvar = $msg;
 set $.myvar = replace( $.myvar, 'this', 'that' );
 action( ... template="" )


On Wed, Dec 30, 2020 at 2:45 PM Gi Actor via rsyslog <
[email protected]> wrote:

>
> _______________________________________________
> rsyslog mailing list
> https://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
https://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