goaccess: can't pipe awk to goaccess
Hi,
i’m trying to pipe awk command to goaccess but is not working
awk '$7~/\<api\>/' /var/log/nginx/access.log | goaccess
is anybody experience the same problem? or i’m doing something wrong?
thanks
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (7 by maintainers)
@hmmatos I’ve pushed a commit that enables 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:
or
or even
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.