summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-06-06 17:33:58 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-06-06 17:33:58 +0200
commit2687d0010ca0ec691235a69c9da021719b61e8cd (patch)
treed8275d258253ed44fce7d163b2f5f1448fd8a7d4 /template.h
parent6343cf730acbb454765d0593d68032aebcb3d15c (diff)
downloadrsyslog-2687d0010ca0ec691235a69c9da021719b61e8cd.tar.gz
rsyslog-2687d0010ca0ec691235a69c9da021719b61e8cd.tar.xz
rsyslog-2687d0010ca0ec691235a69c9da021719b61e8cd.zip
added new property replacer option "time-subseconds"
enables to query just the subsecond part of a high-precision timestamp
Diffstat (limited to 'template.h')
-rw-r--r--template.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/template.h b/template.h
index baf33d4e..3f35ebca 100644
--- a/template.h
+++ b/template.h
@@ -47,7 +47,8 @@ struct template {
enum EntryTypes { UNDEFINED = 0, CONSTANT = 1, FIELD = 2 };
enum tplFormatTypes { tplFmtDefault = 0, tplFmtMySQLDate = 1,
- tplFmtRFC3164Date = 2, tplFmtRFC3339Date = 3, tplFmtPgSQLDate = 4 };
+ tplFmtRFC3164Date = 2, tplFmtRFC3339Date = 3, tplFmtPgSQLDate = 4,
+ tplFmtSecFrac = 5};
enum tplFormatCaseConvTypes { tplCaseConvNo = 0, tplCaseConvUpper = 1, tplCaseConvLower = 2 };
#include "msg.h"