Hello,

I am actually trying to replace every ( <context> ) parenthesis and its
context from the message with this value "."
The message is indeed a string. I am trying to do that by using some of the
built-in functionalities like *re-extract()* to get the parenthesis with the
context and then replace it with the function *replace()* .
But it is not working as either Rsyslog will complain about the regex on
re-extract() or just does not modify the field after the replace(). 
Is there a way to modify a property (field $!) in a similar way or am I
doing something wrong?
Could you please help me understand what am I doing wrong?

Thank you very much in advance.



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