Description Usage Arguments Details See Also Examples
read requests logs following the Combined Log Format.
1 | read_combined(file, has_header = FALSE)
|
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. |
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
read_clf
for the /Common/ Log Format, and
split_clf
for splitting out the "requests" field.
1 2 | #Read in an example Combined-formatted file provided with the webreadr package.
data <- read_combined(system.file("extdata/combined_log.clf", package = "webreadr"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.