From 07338fb2b9aeb6075d819b9dcb4a30d55c19e59a Mon Sep 17 00:00:00 2001 From: whirigoyen Date: Wed, 7 Jun 2023 16:38:04 +0200 Subject: [PATCH] Ajout log format --- HowtoGoAccess.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtoGoAccess.md b/HowtoGoAccess.md index eb7d653f..2979385b 100644 --- a/HowtoGoAccess.md +++ b/HowtoGoAccess.md @@ -45,6 +45,12 @@ log-format %^ %^ %^ %^ %^ %^ %h:%^ [%d:%t.%^] %^ %^ %^/%^/%^/%L/%^ %s %b %^ %^ % # goaccess /var/log/apache2/access.log ~~~ +Si vous utilisez le format de logs `combined` : + +~~~ +# goaccess /var/log/apache2/access.log --log-format=COMBINED +~~~ + Si on veut cibler un fenêtre temporelle particulière ou accélérer le traitement, on filtrera avec grep dans un fichier temporaire : ~~~