Parsing logs lab

From k-space wiki
Jump to: navigation, search


Exercise 1

Using Bash and utilities such as sort, uniq and wc determine

  • What was the IP address generating the most requests?
  • What was the biggest file downloaded?

Using zcat include archived logs

Exercise 2

Using Python attempt to answer the same questions.

Exercise 3

Extrapolate more infromation from the log entries:

  • What was the country where the request originated from, use GeoIP to map IP addresses to coutries. For Bash use geoiplookup

Exercise 4

Add pseudographic menu to select log files or dates