Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 686 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 686 Bytes

HTTP Access Log Analyzer

There is a large amount of HTTP requests made to the NFIS servers from all around the world, including requests that are from outside of Canada.

Given the Apache HTTP access log, the program will scan through the log and:

  • find the top 10 cities outside of Canada where the requests to the NFIS servers are being made from;
  • find the number of HTTP requests for those cities;
  • find the city that is the furthest away from Victoria, BC, of the top 10 cities

How to run the program

Navigate to the src directory and execute the following command:

go run .  

A report will be then generated in the output folder.