Andrew_Nascimen
Nov 08, 2019Nimbostratus
Request Logging - Session Cookie only
Hit a bit of a snag here. I'm using request logging profiles to log any and all web traffic.
We have a case where we need to log the $Cookie header. Easy enough to just say "$Cookie" in the template field. The problem is, it logs every single cookie field. I only need the session cookie. Is there a way to do this with request logging templates?
Andrew,
Years ago there was a feature request for logging a specific cookie via a request log profile tracked as ID455091 but I can't find any information that implies it was adopted into a future release.
Can you try the following syntax in your template?
${Cookie[first]}
• Where 'first' is the name of your cookie.
Best,
Andrew