read requests logs following the Combined Log Format.
Usage
read_combined(file, has_header = FALSE)
Arguments
file
the full path to the CLF-formatted file you want to read.
has_header
whether or not the file has a header row. Set to FALSE by
default.
Details
the Combined Log Format (CLF) is the same as the Common Log Format (CLF, because
software engineers and naming go together like chalk and cheese), which
is documented at read_clf. In addition to the fields described there,
the Combined Log Format also includes:
referer: the referer associated with the request.
user_agent: the user agent of the user that made the request.
read_combined handles these fields, as well as the CLF-standard ones. This is (amongst
other things) the default logging format for nginx servers
See Also
read_clf for the /Common/ Log Format, and
split_clf for splitting out the "requests" field.
#Read in an example Combined-formatted file provided with the webreadr package.data <- read_combined(system.file("extdata/combined_log.clf", package = "webreadr"))