python 分析 nginx 日志 ip 并存入sqlite 数据库

什么也不说,直接上代码

完工后

sqlite3.exe log.db

>select ip, count(*) c from log group by ip having c > 1000 order by c desc;

你可能感兴趣的:(C++,c,nginx,python,sqlite)