summaryrefslogtreecommitdiffstats
path: root/doc/property_replacer.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/property_replacer.html')
-rw-r--r--doc/property_replacer.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/property_replacer.html b/doc/property_replacer.html
index 4f45ef84..8a7164c5 100644
--- a/doc/property_replacer.html
+++ b/doc/property_replacer.html
@@ -49,7 +49,10 @@ the string that should be copied. Offset counting starts at 1, so if you need to
obtain the first 2 characters of the message text, you can use this syntax:
"%msg:1:2%". If you do not whish to specify from and to, but you want to specify
options, you still need to include the colons. For example, if you would like to
-convert the full message text to lower case, use &quot;%msg:::lowercase%&quot;.<p>
+convert the full message text to lower case, use &quot;%msg:::lowercase%&quot;.
+If you would like to extract from a position until the end of the string, you
+can place a dollar-sign (&quot;$&quot;) in toChar (e.g. %msg:10:$%, which will extract
+from position 10 to the end of the string).<p>
There is also support for <b>regular expressions</b>. To use them, you need to
place a &quot;R&quot; into FromChar. This tells rsyslog that a regular expression instead
of position-based extraction is desired. The actual regular expression must then