LinkedIn interview question

Write code to parse syslog lines and print some statistics