Grokking DevOps and SRE Interviews
Vote

0% completed

​

Exercise: Parsing a Web Server Log

"Checkout errors rose this morning, and I need numbers for the incident review. Can you write something that reads our access logs and tells me which status codes we returned, which paths were busiest, and how often each path failed?"

A teammate sends this request with a sample of the log. The logs contain some broken lines, and the log team also plans to change the field order next week, so the program must handle both.

This exercise builds that program in Python with the standard library, and then covers the changes that interviewers add once it works.

The Task

**Write

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content