EXTRACT_COOKIE
Description
EXTRACT_COOKIE
is a row function that extracts the value of the given cookie identifier from a semi-colon delimited list of cookie key/value pairs. This function can be used to extract a particular cookie value from a combined web access log Cookie column.Syntax
Return Value
Returns the value of the specified cookie key as type
TEXT
.Input Parameters
- cookie_list_string
- Required. A field of typeTEXTor literal string that has a semi-colon delimited list of cookiekey=valuepairs.
- cookie_key_string
- Required. The cookie key name for which to extract the cookie value.
Examples
Extract the value of the
vID
cookie from a literal cookie string:Extract the value of the
vID
cookie from a field named Cookie
:EXTRACT_COOKIE([Cookie],"vID")