goaccess
goaccess copied to clipboard
Does the HTML dashboard support multiple sites?
I have multiple sites on a server and I want goaccess to display all the data from the logs in a single HTML webpage, is this possible with goaccess? I know it can generate a dashboard but couldn't find any info on doing it with more than a site, and I need the graphs and stuff to be separated so each site has their own data.
Hi @intern3ts
Well... I'm a little bit confused here. What are you really wanting?
I propose the following approach:
- separate graphics for each site -- so you'll need an html page for each one;
- global statistics with all sites -- so you will need to process all
LOG
s together;
For this second case, the trick is to add the domain to the URL
. I.E. changing:
... "GET /url" ...
by
... "GET SITE_NAME/url" ...
So... I hope I helped you.
Like @0bi-w6n-K3nobi mentioned, depending on how you want your output, you will need to either parse one log per site or if you have them combined, they all will be in the same report. If you are using vhosts or server blocks, #117 will let you filter that real-time from the TUI or the HTML report. Working on that as we speak though.
Hi! I was just going to ask the same thing. GoAccess obviously supports multiple vhosts and sometimes I'd like to filter the whole HTML page based on a specific vhost.
My idea is to add a button to filer selected vhosts. This button can be placed on the same line as "Dashboard" and "Last updated by.." or inside the black menu on the left hand side.