zlacker

[parent] [thread] 3 comments
1. darekk+(OP)[view] [source] 2018-09-19 21:37:38
There's a kind of a workaround. I rotate my logs with logrotate weekly, so the current week's logs are in access.log (and access.log.1) and past logs are in access.log.x.gz files. Then I run goaccess twice (once for .log and once .gz) to get both "all" and "latest" stats. It's not as flexible as a real filter, but it works for me.
replies(1): >>johnny+lE1
2. johnny+lE1[view] [source] 2018-09-20 17:50:45
>>darekk+(OP)
Just curious ,are you using the web based UI to look at your data or the CLI? I use the web UI so I'm wondering how something like this might work with that. I'll have to poke around. Thanks for sharing!
replies(1): >>darekk+Pe7
◧◩
3. darekk+Pe7[view] [source] [discussion] 2018-09-24 07:43:24
>>johnny+lE1
I'm also using the web UI. I create "example.html" and "example-latest.html" with a daily cron job (the way I described) and move it into my web directory (behind a http auth).

I planned to do a write-up for a while now, I should finally get it done (my blog link is in my profile)

replies(1): >>johnny+7T7
◧◩◪
4. johnny+7T7[view] [source] [discussion] 2018-09-24 15:01:45
>>darekk+Pe7
Thanks!
[go to top]