diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-02 12:48:07 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-02 12:48:07 +0200 |
commit | 3954f2e166c3cbd78c71819c8d6c25120042dbcf (patch) | |
tree | 2c70fa3bb36f763490146e1fa6e205600f5afb34 /doc/property_replacer.html | |
parent | e4f012eb60f6531f964557ba9eac54048ae2bef8 (diff) | |
download | rsyslog-3954f2e166c3cbd78c71819c8d6c25120042dbcf.tar.gz rsyslog-3954f2e166c3cbd78c71819c8d6c25120042dbcf.tar.xz rsyslog-3954f2e166c3cbd78c71819c8d6c25120042dbcf.zip |
added new "csv" property replacer option
to enable simple creation of CSV-formatted outputs (format
from RFC4180 is used)
Diffstat (limited to 'doc/property_replacer.html')
-rw-r--r-- | doc/property_replacer.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/property_replacer.html b/doc/property_replacer.html index baf053f2..a6e9b518 100644 --- a/doc/property_replacer.html +++ b/doc/property_replacer.html @@ -314,6 +314,18 @@ case-insensitive. Currently, the following options are defined: <td>convert property text to uppercase only</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>. +Rsyslog will always use double quotes. Note that in order to have full CSV-formatted +text, you need to define a proper template. An example is this one: +<br>$template csvline,"%syslogtag:::csv%,%msg:::csv%" +<br>Most importantly, you need to provide the commas between the fields +inside the template. +<br><i>This feature was introduced in rsyslog 4.1.6.</i> +</td> +</tr> +<tr> <td><b>drop-last-lf</b></td> <td>The last LF in the message (if any), is dropped. Especially useful for PIX.</td> @@ -411,7 +423,7 @@ syntax</a>, this is where you actually use the property replacer.</li> [<a href="http://www.rsyslog.com/">rsyslog site</a>]</p> <p><font size="2">This documentation is part of the <a href="http://www.rsyslog.com/">rsyslog</a> project.<br> -Copyright © 2008 by <a href="http://www.gerhards.net/rainer">Rainer Gerhards</a> and +Copyright © 2008, 2009 by <a href="http://www.gerhards.net/rainer">Rainer Gerhards</a> and <a href="http://www.adiscon.com/">Adiscon</a>. Released under the GNU GPL version 2 or higher.</font></p> |