Goaccess: [Solved] Processing logs with goaccess and logrotate - question.

Created on 14 Mar 2019  路  2Comments  路  Source: allinurl/goaccess

Hi!

I am using this command to print real-time html output:
goaccess /path/to/access.log --log-format=COMBINED -o /path/to/www/root/report.html --real-time-html --real-os --all-static-files --agent-list --http-protocol=yes --http-method=yes --hl-header

And it shows statistics only from one day (current day). There is also files like access.log.12.gz due to logrotate. How can I use all of the data? Also compressed with logrotate.

Thanks in advance!

command-line options html report log-processing question

Most helpful comment

Please try using:

zcat access.log.*.gz | goaccess access.log --log-format=COMBINED - -o /path/to/www/root/report.html

Also note that each active panel has a total of 50 entries in the real-time HTML report instead of the 366 in static mode. Let me know how that goes.

All 2 comments

Please try using:

zcat access.log.*.gz | goaccess access.log --log-format=COMBINED - -o /path/to/www/root/report.html

Also note that each active panel has a total of 50 entries in the real-time HTML report instead of the 366 in static mode. Let me know how that goes.

Yup it works now as expected. Thanks!

I switched to static pages and your pipe trick and now I can see all the data which is more than disturbing.
Why people would like to break into my phpmyadmin, why?:D

Issue marked solved and closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

konungrl picture konungrl  路  3Comments

ychunc picture ychunc  路  3Comments

Tassleh0ff picture Tassleh0ff  路  4Comments

SerenaAi picture SerenaAi  路  3Comments

LoanDEV picture LoanDEV  路  3Comments