CyberArk interview question

parsing a log file for errors.