wiki:nginx_log_parsing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:nginx_log_parsing [2022/04/13 10:48] – add "log" tag antisa | wiki:nginx_log_parsing [2022/04/14 09:41] (current) – [nginx log parsing] add WRAP tags to nginx log line antisa | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== nginx log parsing ====== | ====== nginx log parsing ====== | ||
- | Get number of request per second by country: | + | Get number of request per second by country |
- | cat /var/log/nginx/access.log | awk ' | + | <WRAP prewrap> |
+ | < | ||
+ | "14/Apr/2022: | ||
+ | </ | ||
+ | </ | ||
+ | then use this command: | ||
+ | cat / | ||
====== Tested on ====== | ====== Tested on ====== | ||
* | * |
wiki/nginx_log_parsing.1649846881.txt.gz · Last modified: 2022/04/13 10:48 by antisa