【文件属性】:
文件名称:WebLogStats:Python脚本可解析Web日志文件(目前为Apache或Nginx)并返回给定时间段内的请求数和唯一IP
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-20 10:06:54
Python
网络日志统计
Python脚本可解析Web日志文件并返回给定时间段内的请求数和唯一IP
它通过-f来获取Web(当前为Apache或Nginx)日志文件,您希望查看-t的小时数(默认值= 24小时),并且如果您想要唯一IP的实际列表-i或a通过-n列出的前N个最常见的IP
选项:
-h, --help show this help message and exit
-i, --ips shows list of unique IPs
-t HOURS number of hours back you want to look
-n IPS List the n most common IPs to visit in the given time period
-f FILES, --files=FILES
list of apache log
【文件预览】:
WebLogStats-master
----webStats.py(4KB)
----README.md(803B)