0% found this document useful (0 votes)
34 views

Reading Log Files Introduction

This document discusses web server logs and their importance. Web servers log details of access to a website, such as the IP address, date, page accessed, and server response. These logs are useful for understanding website usage, including how many people visit the site and what pages they view. The logs also help investigate problems on the website. This lesson will focus on reading the log file as a first step, with the goal of setting up analysis to solve additional problems like counting unique visitors and visits per user.

Uploaded by

mayankrajput9576
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Reading Log Files Introduction

This document discusses web server logs and their importance. Web servers log details of access to a website, such as the IP address, date, page accessed, and server response. These logs are useful for understanding website usage, including how many people visit the site and what pages they view. The logs also help investigate problems on the website. This lesson will focus on reading the log file as a first step, with the goal of setting up analysis to solve additional problems like counting unique visitors and visits per user.

Uploaded by

mayankrajput9576
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Reading Log Files

Introduction
Web Server Logs
2 - - [30/Sep/2015:07:47:11 -0400] "GET //favicon.ico HTTP/1.1" 200 3426
- - [30/Sep/2015:07:47:11 -0400] "GET /projects/rotate/ HTTP/1.1" 302 495
- - [30/Sep/2015:07:47:11 -0400] "GET /projects/rotate/random_photo/ HTTP/1.1" 200
- - [30/Sep/2015:07:47:11 -0400] "GET /favicon.ico HTTP/1.1" 304 179
- - [30/Sep/2015:07:47:11 -0400] "GET /projects/rotate/random_photo/images/084comps
- - [30/Sep/2015:07:47:11 -0400] "GET /projects/rotate/random_photo/images/bgd_3840
3 - - [30/Sep/2015:07:47:13 -0400] "GET /courses/spring14/cps140/info.php HTTP/1.1"
- - [30/Sep/2015:07:47:13 -0400] "GET /projects/rotate4k/ HTTP/1.1" 302 492
- - [30/Sep/2015:07:47:13 -0400] "GET /projects/rotate4k/random_photo/ HTTP/1.1" 20
- - [30/Sep/2015:07:47:13 -0400] "GET /projects/rotate4k/random_photo/images/2015_I
- - [30/Sep/2015:07:47:13 -0400] "GET /projects/rotate4k/random_photo/images/bgd_38
• Web servers: log accesses
• Record who (IP), date, what page, response
• Why are these useful?
Importance of Logs
• Understand usage of website
Importance of Logs
• Understand usage of website
• How many people visit site?
Importance of Logs
• Understand usage of website
• How many people visit site?
• What pages do they look at?
Importance of Logs
• Understand usage of website
• How many people visit site?
• What pages do they look at?
Importance of Logs
• Understand usage of website
• How many people visit site?
• What pages do they look at?
Error
Sorry we couldn’t find the
page you were looking for.
• Investigate problems
Oops!

You have requested a page


or files that does not exist
Plan Going Forward
Count Unique
Visitors

How Many Visits


Read Log File
Per Visitor

…Many Other
Problems!

• This lesson: read the log file


• Setup to solve many problems
Plan Going Forward
Count Unique
Visitors

How Many Visits


Read Log File
Per Visitor

…Many Other
Problems!

• This lesson: read the log file


• Setup to solve many problems

You might also like