Randy_Johnson_1
Jan 05, 2010Nimbostratus
Time stamp format -
Hello, group-
I'd like to insert a HTTP HEADER value that reflects the current time in GMT for a specific set of connections.
I'm comfortabloe in inserting the header, but am having difficulty in getting my timestamp.
I've used iRules like this:
when HTTP_REQUEST {
set http_request_time [clock clicks -milliseconds]
}
when HTTP_RESPONSE {
set http_response_time [ clock clicks -milliseconds ]
log 10.x.y.z local1.info "$request_log_line,\
[expr $http_response_time - $http_request_time]"
}
To log the elapsed time a connection took to a remote syslog, but I'm needing a little help in formatting my timestamp to GMT.
Anyone ?
Thanks !!!