-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Tailing multiple log files on terminal #459
Comments
Currently it is not possible to tail multiple files. Doing a |
I was also looking for this feature. When using Direct Admin, access log file names are like "domain.com.log" and the error log "domain.com.error.log". Because of this I cannot use something like "goaccess -f /var/log/nginx/domains/*.log" because it also tries to parse the error logs. Now I use the zcat option but unfortunately this breaks the very nice realtime function. It would be great if the filename could also be given using a regex. |
I've pushed a few commits that give the ability to output live stats from a stream or an unclosed STDIN, i.e., tail -f as well as parsing multiple logs in live mode. For example:
It also opens the possibility for live data filtering from the pipe such as:
Feel free to build from master to test this out, otherwise it will be pushed out in the upcoming release. Thanks. |
Very well done. This is huge advantage in goaccess. |
Our server has several vhosts.
How is it possible to use the interactive viewer with multiple files?
goaccess -f vhost1.log -f vhost2.log # does not work currently
Thank you.
The text was updated successfully, but these errors were encountered: