【文件属性】:
文件名称:awk-for-apache-nginx-logs:适用于Apache Nginx日志的AWK
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-11 04:27:30
Awk
Web服务器日志文件分析和过滤
v1.2; 2012年10月本·卡彭特
该awk脚本处理的日志格式与Apache和Nginx Web服务器经常使用的“组合”日志相匹配。 如果您的日志文件格式不同,请进行相应的修改,但这是此脚本默认期望的组合格式,以供参考:
%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"
%h Remote host
%l Remote logname (ignored)
%u Remote user (ignored)
%t Date and time of the request
%r First line of the request, typically "GET /something HTTP/1.1"
%>s Status
%b Size of response in bytes
【文件预览】:
awk-for-apache-nginx-logs-master
----ua.awk(3KB)
----filter.awk(4KB)
----README.md(1KB)