Commits

Donald Stufft committed 10f9be9

Fix for new Fastly log format

Comments (0)

Files changed (1)

tools/rsyslog-cdn.py

     project = posixpath.basename(directory)
 
     # We need to get the time this request occurred
-    rtime = datetime.datetime(*parsedate(row[5])[:6])
+    rtime = datetime.datetime(*parsedate(row[4])[:6])
 
     incr(rtime, project, filename)