User Tools

Site Tools


wiki:nginx_log_parsing

This is an old revision of the document!


nginx log parsing

Get number of request per second by country:

cat /var/log/nginx/access.log | awk '{print $4}' | uniq -c | sort -rn | head

Tested on

See also

References

wiki/nginx_log_parsing.1649846881.txt.gz · Last modified: 2022/04/13 12:48 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki