fgreg opened a new pull request #32: SDAP-120 Error trying to ingest logs URL: https://github.com/apache/incubator-sdap-mudrod/pull/32 The Apache logs no longer contain referrer and agent. Here is an example log line from the latest access logs: String testLogLine = "198.118.243.84 - - [31/Dec/2017:23:59:20 +0000] \"GET /events?page=12&%25252525252525252525252525252525252525253Bsort=asc&order=field_location&sort=desc HTTP/1.1\" 200 86173"; This does not match the pattern https://github.com/apache/incubator-sdap-mudrod/blob/faac228e88ebdb9fbd8e134f8550d5dc16738a71/core/src/main/java/org/apache/sdap/mudrod/weblog/structure/log/ApacheAccessLog.java#L62 because of the last 2 groups at the end of that pattern: > "((?:[^"]|")+)" "([^"]+)" Those last two groups are used for Referer and browser/user agent and I think are quite important for the log processing. So far I've just written a unit test that fails with the example log line. I need help from @lewismc or @quintinali to determine how this should be fixed.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
