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 /template.h | |
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 'template.h')
-rw-r--r-- | template.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -94,9 +94,10 @@ struct templateEntry { unsigned bSpaceCC: 1; /* change control characters to spaceescape? */ unsigned bEscapeCC: 1; /* escape control characters? */ unsigned bDropLastLF: 1; /* drop last LF char in msg (PIX!) */ - unsigned bSecPathDrop: 1; /* drop slashes, replace dots, empty string */ - unsigned bSecPathReplace: 1; /* replace slashes, replace dots, empty string */ - unsigned bSPIffNo1stSP: 1; /* replace slashes, replace dots, empty string */ + unsigned bSecPathDrop: 1; /* drop slashes, replace dots, empty string */ + unsigned bSecPathReplace: 1; /* replace slashes, replace dots, empty string */ + unsigned bSPIffNo1stSP: 1; /* replace slashes, replace dots, empty string */ + unsigned bCSV: 1; /* format field in CSV (RFC 4180) format */ } options; /* options as bit fields */ } field; } data; |