Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 460 Bytes

Logs.md

File metadata and controls

18 lines (12 loc) · 460 Bytes

Logs

Create a program that parses Logs.txt and allows the user to search inclusivly and exclusivly by the following:

  • OS
  • Browser
  • IP
  • Date and Time
  • File Requested
  • Referer

Example Input

Logs.txt

Example Output

127.0.0.1 - - [19/Jun/2012:09:16:25 +0100] "GET /Yyb.gif HTTP/1.1" 499 0 "http://domain.com/htm_data/7/1206/758536.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; QQDownload 711; SV1; .NET4.0C; .NET4.0E; 360SE)"