read.apache.error.log: Read the apache erro log file and loads it to a data frame.

Description Usage Arguments Value Author(s) Examples

Description

Read the apache erro log file and loads it to a data frame.

Usage

1
2
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

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)

ApacheLogProcessor documentation built on May 2, 2019, 7:55 a.m.