Interview Questions
Interview Guides
Experiences
Explore
Get started
Sign in
Interview Guides
All questions
/
Coding
Parse Logs and Count 500s
Medium
Asked at 1 company
Hash Tables
Math
Strings
Problem
Write a quick Python or Bash script that parses a log file and counts the number of 500 HTTP errors.
Question
Answer
Problem
Write a quick Python or Bash script that parses a log file and counts the number of 500 HTTP errors.
Your answer
Edit
Preview
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.
0 words
target ~200
Try a free preview
Stuck? Get a hint
Past attempts
Up next
Parse Logs for Error Counts
Medium
Python Script to Parse Logs and Count Errors
Easy
Parse Logs With Bash or Python
Medium
Next question
Parse Logs and Count 500s | Dataford Interview Questions