diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-04-26 15:50:49 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-04-26 15:50:49 +0200 |
commit | 5624012710ea75acfd892903f05a6df69a51be39 (patch) | |
tree | 4a0efbb5c4bbf7a304b2932a52eb9cfc30d98ee3 /template.h | |
parent | 9b06a4c26422b0a8727e1b3c6cc7141226186105 (diff) | |
download | rsyslog-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |