Goaccess: Add Virtual Hosts column to "Requested Files"

Created on 11 Jun 2016  路  7Comments  路  Source: allinurl/goaccess

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.

enhancement

Most helpful comment

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

All 7 comments

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

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.

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'.

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.

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

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

g33kphr33k picture g33kphr33k  路  3Comments

vivekkrish picture vivekkrish  路  3Comments

Tassleh0ff picture Tassleh0ff  路  4Comments

DestinyWang picture DestinyWang  路  3Comments

canepa picture canepa  路  3Comments