diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-16 08:21:12 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-16 08:21:12 +0100 |
commit | 62b7a1b8a828446aa75ac138333a4fa019898fb1 (patch) | |
tree | 59f7c4383610fa896ce2f1946bf2b2463a65213a /template.h | |
parent | 66ab2a70e5bcc9637dfec89c6134abe10b96dde8 (diff) | |
download | rsyslog-62b7a1b8a828446aa75ac138333a4fa019898fb1.tar.gz rsyslog-62b7a1b8a828446aa75ac138333a4fa019898fb1.tar.xz rsyslog-62b7a1b8a828446aa75ac138333a4fa019898fb1.zip |
added "json" property replacer option
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,7 +2,7 @@ * Please see syslogd.c for license information. * begun 2004-11-17 rgerhards * - * Copyright (C) 2004 by Rainer Gerhards and Adiscon GmbH + * Copyright (C) 2004-2012 by Rainer Gerhards and Adiscon GmbH * * This file is part of rsyslog. * @@ -103,6 +103,7 @@ struct templateEntry { 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 */ + unsigned bJSON: 1; /* format field JSON escaped */ } options; /* options as bit fields */ } field; } data; |