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
Navigate to the src
directory and execute the following command:
go run .
A report will be then generated in the output
folder.