Parse logs and count error codes
Read lines of a log, pull out the error code from each line that has one, and count how often each code appears. Skip malformed lines.
No answer yet. Write the first one; the best answer gets endorsed.
Read lines of a log, pull out the error code from each line that has one, and count how often each code appears. Skip malformed lines.