get.url.params {ApacheLogProcessor}R Documentation

Extract from the data frame with the access log the urls query strings parameters and values.

Description

The function supports multivalued parameters, but does not support parameters inside urls yet.

Usage

get.url.params(dfLog)

Arguments

dfLog

a dataframe with the access log. Can be load with read.apache.access.log or read.multiple.apache.access.log.

Value

a structure of data frames with query strings parameters for each url of the log

Author(s)

Diogo Silveira Mendonca

Examples

#Load a log which the urls have query strings
path = system.file("examples", "access_log_with_query_string.log", package = "ApacheLogProcessor")

#Read a log file with combined format and return it in a data frame
df = read.apache.access.log(path, format = "common")

#Clear the urls with parameters inside
params <- get.url.params(df)


[Package ApacheLogProcessor version 0.2.3 Index]