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
1
vote
1 answer

Accessing Goaccess report.html within flask

I have a website that uses flask and I would like to display the stats generated by goaccess from within my website. in my route.py, I have added: @main.route("/report") def report(): return render_template('report.html') and I have made sure…
Pierre
  • 69
  • 8
1
vote
1 answer

How to use "HTTP authentication" in goaccess

How to use "HTTP authentication" in goaccess. Im not able to understand this. Help me out here. I am using this: sudo goaccess /var/log/nginx/access.log -o /var/www/html/report.html --log-format=COMBINED…
1
vote
1 answer

log format for goaccess log analysis

Installed goaccess, and trying to parse/analyse one log file. Facing issues in the log format. Any one knows the format we need to use - for below kind of log:[updated the log sample] ::1 - - [24/Jun/2013:17:10:39 -0500] "GET /favicon.ico HTTP/1.1"…
jikku
  • 641
  • 1
  • 6
  • 18
1
vote
3 answers

How can I launch GoAccess in Windows?

I saw here that GoAccess can be installed on Windows. I would like to use it with ISS 8.5 log files but I cannot find any tutorial about how this can be used in Windows through Cygwin. Any help?
Askariwa
  • 23
  • 1
  • 3
1
vote
2 answers

Goaccess custom nginx log format

I need some help with parsing my log, tried several times and can't get it to be parsed. Here is its format from the config we use: log_format upstream_time_log '$host $remote_addr - $remote_user [$time_local] ' '"$request"…
maremare
  • 414
  • 1
  • 4
  • 19
1
vote
5 answers

GoAccess Set the WebSocket server to listen on port 7890 and localhost

I'm trying to run a GoAccess example: # goaccess -f access.log -o report.html --real-time-html There's either Parsing... [41] [0/s] OR no output in the terminal. I wait a long time. Then CTRL+C: ^CSIGINT caught! Stopping WebSocket…
MikeiLL
  • 6,282
  • 5
  • 37
  • 68
1
vote
1 answer

goaccess nginx logformat issue

Just installed goaccess, and i want to parse nginx log, but can't understand how to make right log-format. In nginx.conf i have this format '$server_addr $server_port $remote_addr $request_time $upstream_response_time $time_iso8601 $request …
user3904465
  • 41
  • 2
  • 8
1
vote
1 answer

Generated file in Crontab is empty

I need help with this one. An Artisan command is being run by crontab to analyze a logfile and generate a report into an HTML format. Here is the line of code in the command that is being executed by crontab: $today = date("d/M/Y"); exec('grep…
techgrd
  • 11
  • 1
1
vote
1 answer

goaccess log parsing of very simple log not working

My first question in this community, hope it's gonna be awesome around here! To the topic: I have this very simple log file constructed in the following manner 192.168.178.21 [21/07/2015] "GET /path/to/somewhere HTTP/1.1" "/path/to/somewhere"…
1
vote
1 answer

Time Served shows 0.0us in goaccess tool

We installed GoAccess v0.9 in our linux machine. we have customized log format in nginx. log_format timed_combined '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"…
user2439278
  • 1,222
  • 7
  • 41
  • 75
1
vote
1 answer

GoAccess 0.8 on Centos 5.6 64b

I just installed GoAccess 0.8 on Centos 5.6 64b, when I run the command goaccess -f / var/log/apache2/access.log -a, out the window FORMAT LOG CONFIGURATION, but if I select any format comes out error: An error has ocurred Error ocurred at: parser.c…
Frank
  • 11
  • 1
1
vote
1 answer

goaccess analystis nginx log - parseing url

I am using goaccess statistics my ngnix log. But the problem is that the same url have difference parameter. 115.*.*.115 - - [01/Nov/2013:06:15:29 +0000] "GET /this/is/example/test.html?ver=53&q=aaaaaa HTTP/1.1" 200 64 "-" "-" 115.*.*.115 - -…
leiyonglin
  • 6,474
  • 12
  • 36
  • 41
0
votes
2 answers

bash: /usr/bin/find: Argument list too long

I have 27 000 logs file and need to parse them in one time in GoAccess. every time i run this command goaccess /home/goaccess/part/2/*.log --log-format='%^ %dT%t.%^ %v %h:%^ %^ %^ %T %^ %s %^ %^ %b "%r" "%u" %k %K %^' -o /var/www/html/index.html…
0
votes
1 answer

Why is Docker randomly pulling the allinurl/goaccess image and starting a container on my Linux VM?

I am running into scenarios on a Linux VM, where I'll notice that a random Docker container will be running. The image is always allinurl/goaccess. The image hasn't been pulled and the container hasn't been started by any users. Any ideas what…
0
votes
0 answers

convert log format w3c to NCSA for goaccess

I tried to analyze a file /usr/local/cpanel/logs/access_log using goaccess but goaccess could not parse the log format of that file. Is there any way to convert log format in that file to a format goaccess can analyze? The file access_log has…