summaryrefslogtreecommitdiffstats
path: root/doc/property_replacer.html
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2006-12-19 13:20:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2006-12-19 13:20:23 +0000
commit3eb19c02d792c8511ab9e9c9087093ccc872c304 (patch)
tree6eb1dad6e94484df2e306ee881c4ebeb15e15d36 /doc/property_replacer.html
parent7fe235b03ce60b148abbd48357df2ea04f371358 (diff)
downloadrsyslog-3eb19c02d792c8511ab9e9c9087093ccc872c304.tar.gz
rsyslog-3eb19c02d792c8511ab9e9c9087093ccc872c304.tar.xz
rsyslog-3eb19c02d792c8511ab9e9c9087093ccc872c304.zip
preparing doc for 1.13.0 releasev1-13-0
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:
&quot;%msg:1:2%&quot;. 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