Write a parser for the nginx/Apache combined log format in Python. clf.py: parse line(line) - dict with ip…
Write a parser for the nginx/Apache combined log format in Python. clf.py: parse line(line) - dict with ip…: a task in traj2envs-rl: RL tasks generated with traj2envs (Harbor dataset). Example: 127.0.0.1 - frank 10/Oct/2000:13:55:36 -0700 "GET /apache pb.gif HTTP/1.0" 200 2326…
The task
Example: 127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "http://www.example.com/start.html" "Mozilla/4.08 [en] (Win98; I ;Nav)"
Part of harness-hub/traj2envs-rl.