Incorrect regex in misc/log-analytics/import_logs.py #3558
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
worksforme
The issue cannot be reproduced and things work as intended.
Whilst debugging a problem with a failed import of log files I noticed that one regex in import_logs.py is possibly incorrect. The problem was triggered by accessing a site using Lynx.
Using Apache2 on Debian, using the vhost_combined format, this gave us the following log entry:
host.example.org:443 1.2.3.4 - - +0100 "GET /" 400 478
Notice that the HTTP version is missing completely in the request method/path description. However, import_logs.py requires the HTTP version is present.
You can find a patch against the current SVN trunk attached to this bug report, which fixes the problem for us.
The text was updated successfully, but these errors were encountered: