Processing of all access logs in a folder #2549
-
I am trying to get goaccess to process the last 60 days of access.logs. Logrotate is configured to only store the last 7 days, I could theoretically increase it to 60 days, but if I understand correctly goaccess can also process the data it already has. I use this command: goaccess -f access.* -a -o /path/report.html --geoip-database /path/GeoLite2-Country.mmdb --ignore-crawlers --ignore-panel=STATUS_CODES --ignore-panel=NOT_FOUND --ignore-panel=HOSTS --ignore-panel=REQUESTS --restore --persist --keep-last=60 --db-path /path/tmp/db/. Now there are two things that irritated me: Any idea what I have misunderstood or what is wrong with the command and how I can achieve what I want? Thanks in advance! If there are similar discussions, just link to them. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Okay it actually seems to work for multiple days, then just the question why the log parsing time gets higher and higher on the dashboard with every creation? |
Beta Was this translation helpful? Give feedback.
-
Glad you figured out the parsing of the logs. GoAccess should support the ability to go through multiple logs, whether they're the current access.log or access.log.date* (assuming uncompressed logs). As for time processing, it depends on whether you're parsing the same log again and if you're using |
Beta Was this translation helpful? Give feedback.
-
If your current setup is functioning well, there's no need to make changes. I anticipate no performance problems while processing those 60 files. What size are those files? |
Beta Was this translation helpful? Give feedback.
If your current setup is functioning well, there's no need to make changes. I anticipate no performance problems while processing those 60 files. What size are those files?