-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a format for a2 hosting log #342
Comments
Isn't A2 using some default log format? Did you try letting the log parser detect the format? |
I did, but it was written url are undefined |
In that case, guess it should work by providing a custom regex. |
could you guide me to write this custom regex? |
Those are some of the current formats, hope that helps to create a custom one: matomo-log-analytics/import_logs.py Lines 456 to 491 in 33ba655
|
The format of A2 hosting log are quite similar to OVH, here is an example of A2 hosting log format:
54.0.0.0 - - [01/Dec/2022:08:31:01 -0500] "GET / HTTP/1.1" 200 304 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
The text was updated successfully, but these errors were encountered: