Forum Discussion

Andrew_Nascimen's avatar
Andrew_Nascimen
Icon for Nimbostratus rankNimbostratus
Nov 08, 2019
Solved

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 te...
  • Andrew-F5's avatar
    Nov 11, 2019

    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