Hopefully we can go back to old days relying more on these kind of tools to just get anonymized statistics.
You have to be careful though if you are processing API request and capturing personally identifiable information. Your logs also need to be GDPR compliant.
The "official" answer seems to be to filter the log file with grep for your condition (page /foo) and generate a separate report. Which is unwieldy, I would love to be able to click through.
Does AWstats handle this?
Overall, it is fast, intuitive and customizable.
It will parse according to the log format .
$sed -n '/'$(date '+%d\/%b\/%Y' -d '1 week ago')'/,$ p' access.log | goaccess -a -
$awk '$8=$1$8' access.log | goaccess -a -
$goaccess access.log --log-format='%^[ %^[ %^[%x.%^] %^ %^/%^/%^/%^/%L %^ %h:%^"%r" %s %v %^ "%u|%^" %^ %^ %^ %^=%b' --date-format=%s --time-format=%s