read.multiple.apache.error.log {ApacheLogProcessor} | R Documentation |
Reads multiple apache error log files and loads them to a data frame.
Description
Reads multiple apache error log files and loads them to a data frame.
Usage
read.multiple.apache.error.log(path, prefix, verbose = TRUE, ...)
Arguments
path |
path to the folder that contains the error log files |
prefix |
prefix for all error log files that will be loaded |
verbose |
if the function prints messages during the logs processing |
... |
parameters to be passed to read.apache.error.log function |
Value
a data frame with the error log data
Examples
path <- system.file("examples", package="ApacheLogProcessor")
path <- paste(path, "/", sep="")
#read multiple gziped logs with the prefix m_access_log_combined_
dfELog <- read.multiple.apache.error.log(path, "m_error_log_")
[Package ApacheLogProcessor version 0.2.3 Index]