From a7497afa01e2a4dd709da0a3907d14d79627ce4f Mon Sep 17 00:00:00 2001 From: catttam Date: Mon, 15 Jul 2024 12:49:12 +0200 Subject: [PATCH] Updated goaccess output --- extract_goaccess_metrics.sh | 2 +- goaccess.conf | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/extract_goaccess_metrics.sh b/extract_goaccess_metrics.sh index 1661565..f79a0ab 100755 --- a/extract_goaccess_metrics.sh +++ b/extract_goaccess_metrics.sh @@ -12,7 +12,7 @@ FULL_REPORT_FILE="$OSCAR_LOGS_DIR/oscar.log" mkdir -p $OSCAR_LOGS_DIR # Log format for goaccess -LOG_FORMAT='%^ %^ %^ %h - - [%d:%t] %~ %m %U %^ %s %b %R %u %^' +LOG_FORMAT='%^ %^ %^ %h - - [%d:%t] %~ %m %U %^ %s %^ %R %^ %^' metrics(){ oscar_logfile="oscar_execlog_" diff --git a/goaccess.conf b/goaccess.conf index 7839acd..b87f3af 100755 --- a/goaccess.conf +++ b/goaccess.conf @@ -154,11 +154,11 @@ hl-header true # The parser will only parse the value next to `html-prefs` (single line) # It allows the ability to customize each panel plot. See example below. # -#html-prefs {"theme":"bright","perPage":5,"layout":"horizontal","showTables":true,"visitors":{"plot":{"chartType":"bar"}}} +html-prefs {"theme":"dark blue","perPage":5,"layout":"horizontal","showTables":true,"visitors":{"plot":{"chartType":"null"}}} # Set HTML report page title and header. # -#html-report-title My Awesome Web Stats +html-report-title OSCAR Metrics # Format JSON output using tabs and newlines. # @@ -502,14 +502,14 @@ crawlers-only false #ignore-panel VISITORS #ignore-panel REQUESTS #ignore-panel REQUESTS_STATIC -#ignore-panel NOT_FOUND +ignore-panel NOT_FOUND #ignore-panel HOSTS -#ignore-panel OS -#ignore-panel BROWSERS -#ignore-panel VISIT_TIMES +ignore-panel OS +ignore-panel BROWSERS +ignore-panel VISIT_TIMES #ignore-panel VIRTUAL_HOSTS ignore-panel REFERRERS -#ignore-panel REFERRING_SITES +ignore-panel REFERRING_SITES ignore-panel KEYPHRASES #ignore-panel STATUS_CODES #ignore-panel REMOTE_USER