nginx 最常使用的日志分析shell脚本

时间:2021-04-30 10:34:28
【文件属性】:
文件名称:nginx 最常使用的日志分析shell脚本
文件大小:1KB
文件格式:SH
更新时间:2021-04-30 10:34:28
nginx ,shell 下面分享一下我用Shell编写的分析Nginx日志的脚本,它可以快速得出排名最前的网 站和IP等,内容如下所示: Most of the ip: ------------------------------------------- 220 59.41.24.48 178 59.41.24.80 172 183.57.82.35 Most of the time: -------------------------------------------- 51 15:55 51 15:16 36 16:30 36 16:01 Most of the page: -------------------------------------------- 677 "-" 155 "http://globalpt-internal.caichengwang.com/" 21 "http://globalpt-internal.caichengwang.com/static/css/app.7d771d1f386c5038d2ba50a077b00293.css" 17 "http://internal.caichengwang.com/customer/cart/carts" Most of the time / Most of the ip: -------------------------------------------- 15:55 51 27 183.57.82.35 15 39.108.72.69 15:16 51 23 59.41.24.48 18 59.41.24.80 16:30 36 12 183.57.82.35 7 59.41.24.80

网友评论