python - Parsing Apache log file into ipython notebook -
i'm new ipython , doing experiments following post.
in [10]: parsing log file in data dictionary not work. can please me figure out this?.
log_list = [] line in log: try: data = p.parse(line) except: sys.stderr.write("unable parse %s" % line) data['%t'] = data['%t'][1:12]+' '+data['%t'][13:21]+' '+data['%t'][22:27] log_list.append(data)
could plese try point , let me know error code?
Comments
Post a Comment