Forum Discussion
maddox76_56722
Nimbostratus
Apr 07, 2014Log cookie name from server
I am trying to verify if the loadbalancer are taking wrong lb decisions.
I am aware of the "one connect" and "lb detach" functions but at the moment I don't use it.
I want to try to log the http_resp...
maddox76_56722
Nimbostratus
Apr 08, 2014I think this will work to log the set-cookie from the server .
when HTTP_RESPONSE { if {[HTTP::header exists "Set-Cookie"]} { foreach cookievalue [HTTP::header values "Set-Cookie"] { HSL::send $hsl "<190>[clock format [clock seconds] -format "%b %d %R:%S"] lb-test testrequst-RESP: COOKIESERVER=$cookievalue CS=[IP::client_addr]:[TCP::client_port] -> [IP::server_addr]:[TCP::server_port]" } } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects