Hello Team

I am struggling to get a text(word) replaced in a particular string written
by rsyslog, would you please help me in sharing the steps / template and
configuration to make this work.

I have used multiple configurations but it is not working, it does not
replace the text.

$template test_template,"%timestamp% %programname% %msg:R,ERE,1,FIELD:(.*)
text_to_replace:text_to_replace_with --end%"
:msg, contains, "text_to_replace"       -/var/log/messages; newmsg

Please help.

Regards,
Pat



--
Sent from: http://rsyslog-users.1305293.n2.nabble.com/
_______________________________________________
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