A very simple example on how to modify a property using RainerScript
functions:
 $!field_name = replace($!field_name, "find", "replace-with")

However, you can use other functions from the RainerScript like
re-exctract() and then modify the property as desired. In the above example
the property is a string and therefore the replace function can be used.






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