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.31k stars 1.11k forks source link

Consider /page and /page/ as a one thing #1741

Open pozitron57 opened 4 years ago

pozitron57 commented 4 years ago

I'd like goaccess to consider /page and /page/ as a one thing in REQUESTED FILES (URLS) panel. How do I do that?

allinurl commented 4 years ago

A quick workaround is to remove the trailing slash using something like awk.

As far as merging these two, I think /page and /page/ have different semantics. However, the question is how should goaccess address this? or how would it know that they're are the same? an option maybe? should it include other trailing chars? Thoughts?

pozitron57 commented 4 years ago

I think an option with a possibility to specify trailing characters would be fine.