read.multiple.apache.access.log: Reads multiple files of apache web server.

Description Usage Arguments Value Author(s) Examples

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

1
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

1
2
3
4
5
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_")

diogosmendonca/ApacheLogProcessor documentation built on May 15, 2019, 8:46 a.m.