Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Quite useful. Would be nice if it could be fed from piped input too.


I 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


It works just fine with piped input actually, I use it regularly with zcat.


Indeed, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: