Parse Apache-style access log lines and return a list of dicts, one per line, with these keys: ip, method, path, status (int), bytes (int).
Each line follows the pattern:
<IP> - - [date] "<METHOD> <PATH> HTTP/1.1" <STATUS> <BYTES>
Use a single regex with named groups for clarity.
Ready to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.