summaryrefslogtreecommitdiffstats
path: root/doc/property_replacer.html
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-03-16 08:21:12 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-16 08:21:12 +0100
commit62b7a1b8a828446aa75ac138333a4fa019898fb1 (patch)
tree59f7c4383610fa896ce2f1946bf2b2463a65213a /doc/property_replacer.html
parent66ab2a70e5bcc9637dfec89c6134abe10b96dde8 (diff)
downloadrsyslog-62b7a1b8a828446aa75ac138333a4fa019898fb1.tar.gz
rsyslog-62b7a1b8a828446aa75ac138333a4fa019898fb1.tar.xz
rsyslog-62b7a1b8a828446aa75ac138333a4fa019898fb1.zip
added "json" property replacer option
Diffstat (limited to 'doc/property_replacer.html')
-rw-r--r--doc/property_replacer.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/property_replacer.html b/doc/property_replacer.html
index 394011a1..f0ac3c94 100644
--- a/doc/property_replacer.html
+++ b/doc/property_replacer.html
@@ -342,6 +342,12 @@ case-insensitive. Currently, the following options are defined:
<td>convert property text to uppercase only</td>
</tr>
<tr>
+<td><b>json</b></td>
+<td>encode the value so that it can be used inside a JSON field. This means
+that several characters (according to the JSON spec) are being escaped, for
+example US-ASCII LF is replaced by "\n".</td>
+</tr>
+<tr>
<td valign="top"><b>csv</b></td>
<td>formats the resulting field (after all modifications) in CSV format
as specified in <a href="http://www.ietf.org/rfc/rfc4180.txt">RFC 4180</a>.