Skip to content

Commit

Permalink
CEF: Imperva WAF timestamp parsing (#624)
Browse files Browse the repository at this point in the history
* CEF:  Imperva WAF timestamp parsing fix
  • Loading branch information
mbonsack authored and GitHub committed Aug 8, 2020
1 parent 33892d2 commit 65d0930
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions package/etc/conf.d/log_paths/lp-common_event_format.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,20 @@ parser p_cef_header {
};

parser p_cef_ts_rt {
date-parser-nofilter(format('%s.%f','%s')
date-parser-nofilter(format(
'%s.%f',
'%s',
'%b %d %H:%M:%S',
'%b %d %Y %H:%M:%S')
template("${.cef.rt}")
);
};
parser p_cef_ts_end {
date-parser-nofilter(format('%s.%f','%s')
date-parser-nofilter(format(
'%s.%f',
'%s',
'%b %d %H:%M:%S',
'%b %d %Y %H:%M:%S')
template("${.cef.end}")
);
};
Expand Down

0 comments on commit 65d0930

Please sign in to comment.