Forum Discussion
William_Them_99
Nimbostratus
Jan 31, 2006HTTP_RESPONSE info
Is there a way, within the HTTP_RESPONSE realm, to output to the log the destination to which the BIGIP is about to route the user?
Thanks.
-Bill
- Sure you can. You can use the IP::server_addr command.
when HTTP_RESPONSE { log local0. "server address: [IP::server_addr]" }
- William_Them_99
Nimbostratus
Thanks Joe, the wiki is helpful. - I personally don't know anything about this issue. Does anyone else?
- unRuleY_95363Historic F5 AccountBTW, HTTP_RESPONSE is triggered after the request has been routed to a back-end server and it has responded. If you want to "log the destination to which the BIGIP is about to route the user", you should do that in the LB_SELECTED event.
- William_Them_99
Nimbostratus
Cool - thanks. - JRahm
Admin
I think this is what you are looking for:when HTTP_REQUEST { log "URL is [HTTP::host][HTTP::uri]" }
- For a list of all available commands, check out the Commands topic in the iRules wiki
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