Description Usage Arguments Value Author(s) Examples
Read the apache erro log file and loads it to a data frame.
1 2 | read.apache.error.log(file, columns = c("datetime", "logLevel", "pid",
"ip_port", "msg"))
|
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") |
a data frame with the error log data
Diogo Silveira Mendonca
1 2 3 4 5 | #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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.