python读取日志,存入mysql

一、从 http://www.almhuette-raith.at/apache-log/access.log 下载 1万条日志记录,保存为一个文件,读取文件并解析日志,从日志中提取ip, time_local, http_method, url, http_status, body_bytes_sent , http_referer, ua字段,以制表符分割。 在mysql中建立表,将刚才解析后
相关文章
相关标签/搜索