allinurl / goaccess

GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
https://goaccess.io
MIT License
18.38k stars 1.11k forks source link

Requests aggregated by RegEx #1246

Open brunoguic opened 6 years ago

brunoguic commented 6 years ago

Is there any option to consolidate the requests based on some RegEx?

Some APIs are related and it's not desired to treat them individualy, for example:

/api/dog/1111/
/api/dog/9999/

It would be nice to treat these requests as the same category.

allinurl commented 6 years ago

There's no native option so far - a workaround would be to strip everything after the second slash. Can you post a few lines from your log and I can take a look at the workaround?