plotErrorRateByHour {WebAnalytics} | R Documentation |
Plots rates of HTTP response code groups by hour
Description
Generates a stacked bar plot of http response code types (2xx Success, 3xx Redirect, 4xx User Error and 5xx System Error) by hour.
The x-axis is hours and the plot is limited to 24 axis labels (optimally this is one day) regardless of how many days are being reported. This ensures that the labels are readable.
Usage
plotErrorRateByHour(dataFrame)
Arguments
dataFrame |
a transaction data frame created by |
Value
Returns a ggplot2 plot. This function is intended to be wrapped in a call to plotSaveGG
Author(s)
Greg Hunt <greg@firmansyah.com>
See Also
Examples
logFileName = logFileNamesGetLast(dataDirectory=datd,
directoryNames=c(".", "."),
fileNamePattern="*[.]log")[[1]]
cols = logFileFieldsGetIIS(logFileName)
logdf = logFileRead(logFileName, columnList=cols,
logTimeZone = "", timeFormat = "")
plotErrorRateByHour(logdf)
[Package WebAnalytics version 0.9.12 Index]