Web Server Log File Samples - IIS and Apache

This section provides a quick introduction of Web server log files with examples of IIS and Apache servers.

Web Log File: A file produced by a Web server to record activities on the Web server. It usually has the following features:

1. IIS (Internet Information Service) Samples: Here are some sample records from an IIS server log file:

2002-12-02 02:49:12 127.0.0.1 GET / 200
2002-12-02 02:49:35 127.0.0.1 GET /index.html 200
2002-12-02 03:01:06 127.0.0.1 GET /images/sponsered.gif 304
2002-12-02 03:52:36 127.0.0.1 GET /search.php 200
2002-12-02 04:17:03 127.0.0.1 GET /admin/style.css 200
2002-12-02 05:04:54 127.0.0.1 GET /favicon.ico 404
2002-12-02 05:38:07 127.0.0.1 GET /js/ads.js 200

The record format is very simple. It has 6 space-separated fields: date, time, client IP address, request command, requested file, and response status code.

2. Apache Samples: Here are some sample records from an Apache server log file:

192.168.198.92 - - [22/Dec/2002:23:08:37 -0400] "GET 
   / HTTP/1.1" 200 6394 www.yahoo.com 
   "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1...)" "-"
192.168.198.92 - - [22/Dec/2002:23:08:38 -0400] "GET 
   /images/logo.gif HTTP/1.1" 200 807 www.yahoo.com 
   "http://www.some.com/" "Mozilla/4.0 (compatible; MSIE 6...)" "-"
192.168.72.177 - - [22/Dec/2002:23:32:14 -0400] "GET 
   /news/sports.html HTTP/1.1" 200 3500 www.yahoo.com 
   "http://www.some.com/" "Mozilla/4.0 (compatible; MSIE ...)" "-"
192.168.72.177 - - [22/Dec/2002:23:32:14 -0400] "GET 
   /favicon.ico HTTP/1.1" 404 1997 www.yahoo.com 
   "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3)..." "-"
192.168.72.177 - - [22/Dec/2002:23:32:15 -0400] "GET 
   /style.css HTTP/1.1" 200 4138 www.yahoo.com 
   "http://www.yahoo.com/index.html" "Mozilla/5.0 (Windows..." "-"
192.168.72.177 - - [22/Dec/2002:23:32:16 -0400] "GET 
   /js/ads.js HTTP/1.1" 200 10229 www.yahoo.com 
   "http://www.search.com/index.html" "Mozilla/5.0 (Windows..." "-"
192.168.72.177 - - [22/Dec/2002:23:32:19 -0400] "GET 
   /search.php HTTP/1.1" 400 1997 www.yahoo.com 
   "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; ...)" "-"

The record format is more complex. Records are much longer, so I am breaking them into multiple lines. Fields are enclosed in quotes, "...", or square brackets, [..], and separated by spaces. If a field value is not available, it will be represented as a "-". Fields in each record are: IP address, user id, user name, date and time, request command line, response status, response size, referring URL, and browser name.

Table of Contents

 About This Book

 Website Statistics and Trends

 Year 2025 Reports

 Year 2024 Reports

 Year 2023 Reports

 Year 2022 Reports

 Year 2021 Reports

 Year 2020 Reports

 Year 2019 Reports

 Year 2018 Reports

 Year 2017 Reports

 Year 2016 Reports

 Year 2015 Reports

 Year 2014 Reports

 Year 2013 Reports

 Year 2012 Reports

 Year 2011 Reports

 Year 2010 Reports

 Year 2009 Reports

 Year 2008 Reports - Part II

 Year 2008 Reports - Part I

 Year 2007 Reports

 Year 2006 Reports

 Year 2005 Reports

Analog - Web Server Log Files and Analysis Tool

Web Server Log File Samples - IIS and Apache

 Analog 6.0/Win32 - Web Log File Analysis Tool

 Configuring "Analog" to Process Log Files

 Processing Apache Log Files with "Analog"

 Analog CE 6.17 on Mac Computer

 Analog CE 6.18 on Mac Computer

 References

 Full Version in PDF/ePUB