Questions tagged [goaccess]

GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly.

56 questions
30
votes
1 answer

How to parse several log nginx files using goaccess

I want to parse all my logs of nginx (you can see here): ls /var/log/nginx/ access.log access.log.21.gz error.log.1 error.log.22.gz access.log.1 access.log.22.gz error.log.10.gz error.log.23.gz access.log.10.gz access.log.23.gz …
somenxavier
  • 1,206
  • 3
  • 20
  • 43
23
votes
4 answers

nginx log analysis with goaccess

I want to parse and analyze the nginx logs with goaccess and take a report from the analyzed logs. But, when I run the zcat -f access.log.*.gz | goaccess -a -c command, it gives me the following error : GoAccess - version 0.5 - Jun 26 2012…
husnu
  • 303
  • 1
  • 4
  • 9
4
votes
1 answer

crontab script fail: end of file unexpected (expecting ")") when call $(date)

I want to add 0 5 1 * * goaccess -f /var/log/nginx/access.log -a > /home/xan/reports/report-week-$(date +%Y.%m.%d).html but crontab always complains about that: Subject: Cron goaccess -f /var/log/nginx/access.log -a >…
somenxavier
  • 1,206
  • 3
  • 20
  • 43
4
votes
3 answers

goaccess parsing not working

I'm trying to get goaccess working. Already take some time on docs and examples but without success. Basically i have log lines like: 10031488_71334 xpto.domain.com 88.103.999.999 - - [16/Jun/2013:15:03:26 +0000] "GET / HTTP/1.1" 500 5624 "-"…
user1221679
  • 625
  • 1
  • 9
  • 16
3
votes
1 answer

Cron job for generate Go Access report not working

In my root crontab (sudo crontab -e) I have this job to generate Go Access log reports: * * * * * goaccess /var/log/nginx/access.log -o /home/me/some/path/report.html It works just fine. I also have this job to generate a report that spans multiple…
DukeSilver
  • 458
  • 1
  • 6
  • 22
3
votes
0 answers

How to eliminate "unique visitors" information from GoAccess report?

The webserver of which I am off-line analyzing the logs sits behind a proxy server. The IP addresses in the log file are not the ones from the clients but the ones from the hand full of proxy servers. This I cannot change. The parsing works well,…
Laxas
  • 51
  • 6
2
votes
2 answers

Cron Pipe zcat on Bash Script not working

I created a script based on the tutorial on this page: https://johnveldboom.com/posts/goaccess-automated-reports-last-30-days-via-cron/. When the script is run from the terminal it works perfectly. The problem is when cron runs the script, pipe does…
Rayed
  • 55
  • 9
2
votes
1 answer

How to monitor nginx error logs with Goaccess?

Most goaccess examples are for monitoring access logs. I want to monitor error logs with goaceess. My error logs are of the following format: 2020/02/05 09:23:08 [crit] 9711#9711: *6 SSL_do_handshake() failed (SSL: error:1420918C:SSL…
GunnerFan
  • 3,576
  • 3
  • 25
  • 38
2
votes
1 answer

Goaccess log format for nginx

Here my logs 180.76.15.143 - - [09/Oct/2016:07:43:04 +0700] "GET / HTTP/1.1" 301 193 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.htm$ 180.76.15.160 - - [09/Oct/2016:07:44:15 +0700] "GET / HTTP/1.1" 301 193 "-"…
webmastx
  • 683
  • 1
  • 8
  • 30
2
votes
1 answer

GoAccess not recognizing --keep-db-files and others

I have installed goaccess-1.0.2 along with the ncurses and the optional dependencies provided by goaccess man page on my Ubuntu 16.04 OS. I am successfully able to parse logs with the following command: goaccess -f access.log -a. I am able to…
2
votes
1 answer

How to get access_log summary by goaccess starting from certain date?

Currently I keep 6 weeks of apache access_log. If I generate a access summary at month end: cat /var/log/httpd/access_log* | goaccess --output-format=csv the summary will include some access data from previous month. How can I skip logs of previous…
ohho
  • 50,879
  • 75
  • 256
  • 383
2
votes
1 answer

Trivial goaccess log parsing not working

I'm trying to set up goaccess to analyse some apache output which is highly customised. I didn't fancy my chances writing a .goaccessrc file straight off, so decided to simplify the log (in a text editor) and start slowly. However, I can't even get…
dsl101
  • 1,715
  • 16
  • 36
1
vote
1 answer

What is the Apache 2 error log timestamp format?

I am trying to add an Apache Error Log configuration to Goaccess, and I'm stuck on the timestamp format. My current guess is %a %b %e %H:%M:%S %Y, but apparently that is incorrect, since it gives me error Token 'Sun Sep 11 09:51:43.343399 2022'…
1
vote
0 answers

Goaccess web socket failing on Safari after LetsEncrypt Sep 30 expiry

I'm aware of the Sep 30 LetsEncrypt cert expiration and have made the necessary changes to CentOS ca-certificates. This has fixed SSL/TLS on the mail server and php. I'm now still getting an error with my Goaccess web stats service which provides…
blissweb
  • 3,037
  • 3
  • 22
  • 33
1
vote
1 answer

How to configure goaccess for real-time report

Started using GoAccess recently and am able to access console dashboard and even get static html page. But would like to have real-time reports on the server but every time I try to generate static html or real time report it always opens websocket…
Joel Divekar
  • 187
  • 1
  • 4
  • 19
1
2 3 4