read.multiple.apache.error.log: Reads multiple apache error log files and loads them to a...

Description Usage Arguments Value Examples

Description

Reads multiple apache error log files and loads them to a data frame.

Usage

1
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

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_
dfELog <- read.multiple.apache.error.log(path, "m_error_log_")

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