Trying to capture the timestamp in this log event (for Splunk)
172.21.201.135 | http | o@1I0BTOx1063x3667295x0 | hkv | 2020-06-10 17:43:18,951 | "POST /rest/build-status/latest/commits/stats HTTP/1.1" | "http://bitbucket.my.com/projects/WF/repos/klp-libs/compare/commits" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36" | 200 | 345 | 431 | - | 5 | 3dk4qm |
When set, Splunk software uses the specified regular expression to looks for a match before attempting to extract a timestamp.
TIME_PREFIX = <regular expression>
But not yet been able to create a regex that matches on the fourth '|' in the log event above.