Forum Discussion
Randy_Johnson_1
Nimbostratus
Mar 18, 2010Simple iRule, confusing output ...
I'm using a fairly simple iRule to prove that my BigIP is not addiing excessive latency to a transactiona gainst our WebServices.
The rule looks like this:
when HTTP_REQU...
hoolio
Cirrostratus
Mar 22, 2010If you're trying to get the server IP:port with the existing events, add IP::server_addr and TCP::server_port in HTTP_RESPONSE:
...
when HTTP_RESPONSE {
log local0.info "$request_log_line,\
[IP::server_addr],\
[TCP::server_port,\
[HTTP::status],\
[expr { [ clock clicks -milliseconds ] - $http_request_time}]"
}
You can also remove the intermediate variable for response time and wrap the expr operands in curly braces to save some CPU cycles.
Aaron
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