Randy_Johnson_1
Mar 18, 2010Nimbostratus
Simple 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_REQUEST {
set http_request_time [clock clicks -milliseconds]
set request_log_line "\
[HTTP::request_num],\
[IP::remote_addr],\
[HTTP::method],\
[HTTP::uri]\,
[HTTP::host],\
[LB::server]\
"
}
when HTTP_RESPONSE {
set http_response_time [ clock clicks -milliseconds ]
log local0.info "$request_log_line,\
[HTTP::status],\
[expr $http_response_time - $http_request_time]"
}
While (for the most part...) ther logged output makes sense
Mar 18 11:40:15 tmm tmm[1586]: Rule RJTime_Test : 63, IP::remote_addr removed, POST, /ourapp.asmx, oursvchost.ourdomain.net, Service 10.1.1.114 80 , 200, 47
I also get lines like this...
Mar 18 11:40:15 tmm tmm[1586]: Rule RJTime_Test : 1, IP::remote_addr removed, POST, /ourapp.asmx, oursvchost.ourdomain.net, Service 0 , 200, 7
What I'm confused on is why the 'LB::server' field is showing up as '0' in some of my logs, yet shows up correctly in most of them ?
Could this be an indication of a request that was not load balanced at all, and just went to Limbo ?
Thanks !!