Replies: 1 comment 1 reply
-
I could not get the cmdline or interactive formatting approaches to parse Gandi's vhost_paas logfiles but I was able to get it working with few edits to goaccess.conf
Now copy the VCOMBINED format but add (%^) to handle the time-taken-to-serve parameter used by vhost_paas.
Regards |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
i'm trying to make goaccess parsing log format from gandi.net (I'm client from the virtua hosting solution).
I found the base.conf with the line :
LogFormat "%V %a %l %u %t (%T s) \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" vhost_paas
So I made this command prompt : goaccess /Volumes/XX/access.log --log-format="%V %a %l %u %t (%T s) "%r" %>s %b "%{Referer}i" "%{User-agent}i"" vhost_paas --datetime-format=%d/%b/%Y:%H:%M:%S %z
But I got
Token '[10/Apr/2023:06:59:08' doesn't match specifier '%t
, but I rebuild exactly the same datetime I'm seeing in acess.log :XXX.fr 54.36.XXX.XX - - [10/Apr/2023:11:52:08 +0000] (0 s) "GET /viewtopic.php?p=XXX HTTP/1.1"...
Any idea ? I'm sure I'm not the only user of gandi :)
Beta Was this translation helpful? Give feedback.
All reactions