read.multiple.apache.access.log {ApacheLogProcessor} | R Documentation |
Reads multiple files of apache web server.
Description
The files can be gziped or not. If the files are gziped they are extracted once at time, processed and after only the extracted file is deleted.
Usage
read.multiple.apache.access.log(path, prefix, verbose = TRUE, ...)
Arguments
path |
path where the files are located |
prefix |
the prefix that identify the logs files |
verbose |
if prints messages during the processing |
... |
parameter to be passed to read.apache.access.log function |
Value
a data frame with the apache log files information.
Author(s)
Diogo Silveira Mendonca
Examples
path <- system.file("examples", package="ApacheLogProcessor")
path <- paste(path, "/", sep="")
#read multiple gziped logs with the prefix m_access_log_combined_
dfLog <- read.multiple.apache.access.log(path, "m_access_log_combined_")
[Package ApacheLogProcessor version 0.2.3 Index]