summaryTxDataFrameCreate {WebAnalytics}R Documentation

Creates a dataframe containing summary URL performance metrics

Description

From a dataframe containing log data, calculate 95th percentile response, total wait and error counts, embed TeX hyperlinks referencing the URL. Return these in a dataframe intended for printing in a report.

Usage

summaryTxDataFrameCreate(logDataframe) 

Arguments

logDataframe

a dataframe created by the functions that read log files.

Value

Returns a dataframe containing columns

Response (sec, 95th pctl)

95th Percentile response time for the URL

Transaction

The URL

Count

Number of requests for that URL

Total Wait (sec)

Total wait time for the URL in seconds

Server Errors

Number of HTTP 5xx errors

Client Error

Number of HTTP 4xx errors

Redirect

Number of HTTP 3xx responses

Success

Number of HTTP 200 responses

Author(s)

Greg Hunt <greg@firmansyah.com>

Examples


logFileName = logFileNamesGetLast(dataDirectory=datd, 
  directoryNames=c(".", "."), 
  fileNamePattern="*[.]log")[[1]]

cols = logFileFieldsGetIIS(logFileName)

logdf = logFileRead(logFileName, columnList=cols, 
            logTimeZone = "", timeFormat = "")

summarydf = summaryTxDataFrameCreate(logdf)

[Package WebAnalytics version 0.9.12 Index]