Log Parser

To run this project execeute following command

./parser.rb webserver.log

(Note: you might need to make it excutable by chmod +x parser.rb)

TODO:

Add Test coverage

  1. Uniq Page count = 6
  2. Uniq IP Address = ?
  3. Total sorting based on count = ?
  4. If same count for multiple urls, urls should be sorted.
  5. Single viewer sorting based on count = ?
  6. If same count for multiple urls, urls should be sorted.
  7. Output format.