Interview Questions
Interview Guides
Experiences
Explore
Get started
Sign in
Interview Guides
Python Log Parsing Error Counter | Dataford Interview Questions
All questions
/
Coding
Python Log Parsing Error Counter
Easy
Asked at 1 company
Hash Tables
Math
Strings
Problem
Write a basic Python script to parse a log file and count the number of error messages.
Question
Answer
Problem
Write a basic Python script to parse a log file and count the number of error messages.
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
Python Script to Parse Logs and Count Errors
Easy
Parse Logs for Error Counts
Medium
Parse Logs and Count 500s
Medium
Next question