Goaccess: Problem with Apache Custom Log in GoAccess

Created on 14 Oct 2020  路  4Comments  路  Source: allinurl/goaccess

Good morning all

I encountered problems with my apache log file on goaccess can you help me please

Format Log :

Oct 8 11:55:59 server2 server2-access 92.184.124.86 - - [08/Oct/2020:00:00:12 +0200] "GET /wikiTekfor/info/tests.php" 200 6953 "https://wikiTekfor.com" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_2_5 like Mac OS X) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0 Mobile/15D60 Safari/604.1"

Thank you

lodattime format question

All 4 comments

My bet:

--time-format='%H:%M:%S'
--date-format='%d/%b/%Y'
--log-format='%^ %^ %^ %^ %^ %h %^[%d:%t %^] "%m %U" %s %b "%R" "%u"'

into command-line, or in goaccess.conf:

time-format %H:%M:%S
date-format %d/%b/%Y
log-format %^ %^ %^ %^ %^ %h %^[%d:%t %^] "%m %U" %s %b "%R" "%u"

@0bi-w6n-K3nobi should work. You could also try:

goaccess access.log --log-format='%^:%^ %^ %v %h %^[%d:%t %^] "%m %U" %s %b "%R" "%u"' --date-format=%d/%b/%Y --time-format=%T --http-protocol=no

Good morning all

Thank you very much, it works

Thank-you for your prompt response

Glad that worked!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DestinyWang picture DestinyWang  路  3Comments

domainoverflow picture domainoverflow  路  3Comments

konungrl picture konungrl  路  3Comments

SerenaAi picture SerenaAi  路  3Comments

g33kphr33k picture g33kphr33k  路  3Comments