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.17k stars 1.1k forks source link

Add Virtual Hosts column to "Requested Files" #435

Open Thor77 opened 8 years ago

Thor77 commented 8 years ago

It's very confusing to me to see multiple requests to / in the Requested Files-table, delivering different content, because / is available on multiple Virtual Hosts. I would prefer a Virtual Hosts-column on Requested Files or another way to split these requests up.

allinurl commented 8 years ago

You can prepend the vhost to the requested files. Please take a look at the man page, Virtual Hosts examples at the bottom of the page.

The output would look like:

2016-06-11-091951_1241x1054_scrot

Thor77 commented 8 years ago

Yeah, I already found that option in an issue, but i don't really like the view (vhost + request in one column) of that and think splitting it up would be a more readable solution.

allinurl commented 8 years ago

I can look into the new column. However, for the current output, and if it's just a spacing issue, you can just add x amount of spaces between the two awk fields, e.g., '$8=$1" "$8'.

pabliqe commented 8 years ago

Also it seems that appending the hostname with awk disables the real-time preview, right?. In that case, creating a column for %v could solve this issue.

allinurl commented 8 years ago

@uimanwashere you are correct. I'll add this option. Thanks.

virtualdreams commented 7 years ago

Please add this column also to Static Requests, Not Found URLs.

fancsali commented 3 years ago

@allinurl I just bumped into the same problem, and then found this issue. I was just wondering, whether this is still on the roadmap?