read.apache.error.log {ApacheLogProcessor} | R Documentation |
Read the apache erro log file and loads it to a data frame.
Description
Read the apache erro log file and loads it to a data frame.
Usage
read.apache.error.log(file, columns = c("datetime", "logLevel", "pid",
"ip_port", "msg"))
Arguments
file |
path to the error log file |
columns |
which columns should be loaded. Default value is all columns. c("datetime", "logLevel", "pid", "ip_port", "msg") |
Value
a data frame with the error log data
Author(s)
Diogo Silveira Mendonca
Examples
#Loads the path of the erro log
path <- system.file("examples", "error_log.log", package = "ApacheLogProcessor")
#Loads the error log to a data frame
dfELog <- read.apache.error.log(path)
[Package ApacheLogProcessor version 0.2.3 Index]