4 ms·
Quite useful. Would be nice if it could be fed from piped input too.
by mtarnovan 10y ago
Quite useful. Would be nice if it could be fed from piped input too.
- blitzd 10y agoIt works just fine with piped input actually, I use it regularly with zcat.
- trynewideas 10y agoIndeed, most of the GoAccess docs around pipes provide examples for using them to backfill missing expected features, like filtering by date range, file/MIME type, status code, etc.
- pierrec 10y agoI use `find` to choose specific months and pipe the log files into goaccess (if you have lots of logs, that saves time instead of piping everything). Assuming the logs are in a bunch of gzipped files: find my_logs/ -name "*.gz" | grep '2016/10|2016/11' | xargs -I file zcat file | goaccess