Logparser request for cookie value

I have abc=1234added a cookie.

It appears in the IIS log. But in the cs(Cookie) field , other cookies are displayed, also separated by a semicolon.

I want to use until get cookie value abc.

Can you offer a request?

eg. if cs (Cookie) matters +pqr=999;+abc=1234;+xyz=222, the logparser request should return 1234.

+5
source share
1 answer

Found. Use the extract_value () function

logparser "SELECT extract_value(cs(Cookie),'+abc',';') as abc_value from ..."
+6
source

All Articles