diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-04-27 09:42:53 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-04-27 09:42:53 +0200 |
commit | 9c76723c5b048afe4009f0528a6201741fec234a (patch) | |
tree | ca8674b92e4dbe9d6876226be737a28b467650b3 /template.h | |
parent | 354a410fad173b88c3b121376c2aca7898869ff0 (diff) | |
download | rsyslog-9c76723c5b048afe4009f0528a6201741fec234a.tar.gz rsyslog-9c76723c5b048afe4009f0528a6201741fec234a.tar.xz rsyslog-9c76723c5b048afe4009f0528a6201741fec234a.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
@@ -67,6 +67,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; |