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

How to generate a real-time report for multiple sites #444

Closed
neochan78 opened this issue Jun 16, 2016 · 5 comments
Closed

How to generate a real-time report for multiple sites #444

neochan78 opened this issue Jun 16, 2016 · 5 comments
Labels

Comments

@neochan78
Copy link

neochan78 commented Jun 16, 2016

real-time report for multiple sites,what way is better?
The following shell script is OK?

for domain in $domainname
do
    goaccess -f $logdir/$domain.access.log -o $htmldir/$domain-rt-report.html --real-time-html --port=$port --ws-url=xxx.xxx.xxx.xxx &
    let port=$port+1
    sleep 3
done
@allinurl
Copy link
Owner

Haven't tested, but I don't see an issue with it. Though, if you have a lot of domains, make sure you can open that many ports.

@allinurl allinurl changed the title real-time report for multiple sites How to use real-time report for multiple sites Jun 18, 2016
@allinurl allinurl changed the title How to use real-time report for multiple sites How to generate a real-time report for multiple sites Jun 18, 2016
@neochan78
Copy link
Author

OK,thanks

@allinurl
Copy link
Owner

Closing this. Feel free to reopen it if needed.

@windware-ono
Copy link

Can you somehow try to share web socket ports against multiple sites? (Maybe by using URL path like, wss://ws.domain/site.domain ?)

If a site is hosted under CloudFlare, the server can't have too many spare ports.
https://support.cloudflare.com/hc/en-us/articles/200169156-Which-ports-will-CloudFlare-work-with-

@allinurl
Copy link
Owner

@Windware Thanks for the suggestion. I do like the idea of somehow sharing a port. Please feel free to open a new issue with this request so I make sure to look into it.

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

No branches or pull requests

3 participants