Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 401 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 401 Bytes

Log analytics

Kata to process dummy log files and show the most visited pages in descending order. It also show the unique page visits in descending order.

Install dependencies

bundle install

Running tests

bundle exec rspec

Running the parser

bin/analyse.sh test.log
bin/analyse.sh webserver.log

ruby parser.rb test.log
ruby parser.rb webserver.log