web usage mining

34
Web Usage Mining Part-1

Upload: dimaia

Post on 25-Feb-2016

108 views

Category:

Documents


0 download

DESCRIPTION

Web Usage Mining. Part-1. Web Usage Mining. It’s main goal is to: Discover usage patterns from web data in order to understand and better serve the needs of web based applications. Web Usage Mining. Web usage mining consists of three phases Preprocessing Pattern discovery - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Web Usage Mining

Web Usage MiningPart-1

Page 2: Web Usage Mining

Web Usage MiningIt’s main goal is to:Discover usage patterns from web data

in order to understand and better serve the needs of web based applications

Page 3: Web Usage Mining

Web Usage MiningWeb usage mining consists of three

phases Preprocessing Pattern discovery Pattern analysis

Page 4: Web Usage Mining

Generated by users’ interaction with the Web, data sources include:

web-server access logs proxy-server logs browser logs user profiles registration data user sessions and transactions cookies user queries bookmark data mouse clicks and scrolls

Web-Usage Mining

Page 5: Web Usage Mining

Web-Log ProcessingA server log:

set of files consisting of the details of an activity performed by a server

files are automatically created and maintained by the server

The World Wide Web Consortium (W3C) has specified a standard format for web-server log files

There are other proprietary formats for web-server logs.

Page 6: Web Usage Mining

Most web logs contain: IP address of the client making the request date and time of the request URL of the requested page number of bytes sent to serve the request user agent (such as a web browser or web crawler) referrer (the URL that triggered the request)

Logs can all be stored in one file A better alternative is to separate:

access log error log referrer log

Web-Log Processing

Page 7: Web Usage Mining

Format of Web Logs

Common log format(http://www. W3.org/Daemon/User/Config/Logging.html#common-logfile-format)

Page 8: Web Usage Mining

Examples of Common Log Format140.14.6.11 - pawan [06/Sep/2001:10:46:07 -0300] "GET /s.htm HTTP/1.0"

200 2267

140.14.7.18 - raj [06/Sep/2001:11:23:53 -0300] "POST /s.cgi HTTP/1.0" 200 499

GET request that retrieves a file s.htm POST request sends data to a program s.cgi Fields:

client machine’s IP address (140.14.6.11) RFC 1413 identity of the client is missing (-) Date and time Request Error code Number of bytes transferred

Page 9: Web Usage Mining

Examples of Common Log Format

An example of a log file in extended format

Page 10: Web Usage Mining

Format of Web Logs#Version: version of the extended log file format

used#Fields: fields recorded in the log#Software: software that generated the log#Start-Date: date and time at which the log was

started#End-Date: date and time at which the log was

finished#Date: date and time at which the entry was

added#Remark: Comments that are ignored by

analysis tools

Page 11: Web Usage Mining

The directives #Version and #Fields are mandatory and must appear before all the entries

Each field in the #Fields directive can be specified in one of the following ways: an identifier; e.g., time an identifier with a prefix separated by a

hyphen; e.g., cs-method a prefix following a header in parentheses;

e.g., sc(Content-type)

Format of Web Logs

Page 12: Web Usage Mining

No prefixes for date, time, time-taken, bytes, cached

Prefixes for ip, dns, status, comment, method, uri, uri-stem, uri-query, host

Prefixes can be:cs client to serversc server to clientsr server to remote server (this prefix is used by proxies)rs remote server to server (this prefix is used by proxies)x application-specific identifier

Format of Web Logs

Page 13: Web Usage Mining

Analyzing Web logs

Page 14: Web Usage Mining

Analyzing Web Logs

General Summary from Analog

Page 15: Web Usage Mining

Analyzing Web Logs

Monthly report from Analog

Page 16: Web Usage Mining

Analyzing Web Logs

Daily summary from Analog

Page 17: Web Usage Mining

Hourly summary from Analog

Page 18: Web Usage Mining

Analyzing Web Logs

Page 19: Web Usage Mining

Organization report from Analog

Organization report from Analog

Page 20: Web Usage Mining

Search-word report from Analog

Page 21: Web Usage Mining

Operation-system report from Analog

Page 22: Web Usage Mining

Status-code report from Analog

Page 23: Web Usage Mining

File size report from Analog

Page 24: Web Usage Mining

File type report from Analog

Page 25: Web Usage Mining

Directory report from Analog

Page 26: Web Usage Mining

FRequest report from Analog

Page 27: Web Usage Mining

Analysis of Clickstream: Studying Navigation Paths

Page 28: Web Usage Mining

Clickstream using Pathalizer with seven link specification

Analysis of Clickstream: Studying

Navigation Paths

Page 29: Web Usage Mining

Analysis of Clickstream: Studying

Navigation Paths

Clickstream using Pathalizer with twenty link specification

Page 30: Web Usage Mining

Visualizing Individual User Sessions

A brief on-campus session identified by StatViz that browses the bulletin board

Page 31: Web Usage Mining

Visualizing Individual User Sessions

A brief off-campus session identified by StatViz with three distinct activities

Page 32: Web Usage Mining

Visualizing Individual User Sessions

A long on-campus session identified by StatViz with multiple activities

Page 33: Web Usage Mining

Caution in Interpreting Web-Access Logs Requests may not always reach the server as they

may be served from a proxy server’s cache You do not really know:

Identity of readers Number of visitors Number of visits User’s navigation path through the site Entry point and referral How users left the site or where they went next How long people spent reading each page How long people spent on the site

Page 34: Web Usage Mining

Turner (2004)I’ve presented a somewhat negative view here, emphasizing what you can’t find out. Web statistics are still informative: it’s just important not to slip from “this page has received 30,000 requests” to “30,000 people have read this page.” In some sense these problems are not really new to the web—they are present just as much in print media too. For example, you only know how many magazines you’ve sold, not how many people have read them. In print media we have learnt to live with these issues, using the data which are available, and it would be better if we did on the Web too, rather than making up spurious numbers.