Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display analytics for one specific VirtualHost #546

Closed
josephernest opened this issue Oct 18, 2016 · 5 comments
Closed

Display analytics for one specific VirtualHost #546

josephernest opened this issue Oct 18, 2016 · 5 comments

Comments

@josephernest
Copy link

Let's goaccess -f access.log with 1 week of logs. The panel > 9 - Virtual Hosts displays:

 Hits   Vis.      %   Bandwidth Data
 ------ ---- ------ ----------- ----
 ...
 11089   290  5.83%    4.14 MiB www.sitea.com
 4873    348  2.56%  443.20 MiB www.siteb.com
 2606   1258  1.37%  465.10 MiB www.sitec.com
 2159    454  1.14%  193.24 MiB www.sited.com

How to ask GoAccess to display analytics for sitea.com only, for each day (without exiting goaccess and doing a CLI command) ?

Example:

www.sitea.com   oct-18       56 visits
www.sitea.com   oct-17       36 visits
www.sitea.com   oct-16       192 visits
...
@allinurl
Copy link
Owner

Currently not possible without doing some preprocessing (e.g., grep, awk, etc), however, #117 will definitely cover this. In fact, the filtering feature is the next big update that GoAccess will get, both in the HTML side and the terminal side :)

@josephernest
Copy link
Author

josephernest commented Oct 18, 2016

Thanks for this answer @allinurl!
Do you already have a beta test version that has this feature? I'd love to test this, because without this, I can't use GoAccess (I have 10 virtualhosts and I need to see which traffic comes from where)
Any idea about roadmap (a few weeks/months ?)
Congrats again for this tool!

@allinurl
Copy link
Owner

Unfortunately no beta yet. Stay tuned though, I expect this to come soon!

@mohsen
Copy link

mohsen commented Jun 22, 2022

Isn't this yet available? I need to filter output only for a single host and ignore the rest lines of access log file.

@allinurl
Copy link
Owner

@mohsen Working on #117 as we speak. Stay tuned as it will be out rather sooner than later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants