22
0
Fork 0

log-format HAProxy

This commit is contained in:
Benoît S. 2019-02-13 11:15:06 +01:00
parent 004021aae6
commit 28767b33ca
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,12 @@ date-format %d/%b/%Y
log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"
~~~
Pour HAProxy, le `log-format` est le suivant :
~~~
log-format %^ %^ %^ %^ %^ %h:%^ [%d:%t.%^] %^ %^ %^/%^/%^/%L/%^ %s %b %^ %^ %^ %^ %^ {%v|%u} "%m %U %H"
~~~
Pour générer un rapport HTML (un seul fichier, les styles sont inline) :
avec GoAccess 0.8.3 :