summaryrefslogtreecommitdiffstats
path: root/template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-04-26 15:50:49 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-04-26 15:50:49 +0200
commit5624012710ea75acfd892903f05a6df69a51be39 (patch)
tree4a0efbb5c4bbf7a304b2932a52eb9cfc30d98ee3 /template.h
parent9b06a4c26422b0a8727e1b3c6cc7141226186105 (diff)
downloadrsyslog-5624012710ea75acfd892903f05a6df69a51be39.tar.gz
rsyslog-5624012710ea75acfd892903f05a6df69a51be39.tar.xz
rsyslog-5624012710ea75acfd892903f05a6df69a51be39.zip
added capability to specify substrings for field extraction mode
Diffstat (limited to 'template.h')
-rw-r--r--template.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/template.h b/template.h
index f55f64b3..e41823e9 100644
--- a/template.h
+++ b/template.h
@@ -69,6 +69,7 @@ struct templateEntry {
propid_t propid; /* property to be used */
unsigned iFromPos; /* for partial strings only chars from this position ... */
unsigned iToPos; /* up to that one... */
+ unsigned iFieldNr; /* for field extraction: field to extract */
#ifdef FEATURE_REGEXP
regex_t re; /* APR: this is the regular expression */
short has_regex;