cancel
Showing results for 
Search instead for 
Did you mean: 
carsten424
Level 7

Logging of response times

Is there the possibility to log the server response time e.g. in the access log - the total response time would be an alternative?

0 Kudos
5 Replies
eelsasser
Level 15

Re: Logging of response times

There are many timers you can log. Here are a few of them.

+ " "

+ String.ReplaceIfEquals (Number.ToString (Timer.TimeInRuleEngine), "", "")

+ " "

+ String.ReplaceIfEquals (Number.ToString (Timer.TimeInTransaction), "", "-")

+ " "

+ String.ReplaceIfEquals (Number.ToString (Connection.RunTime), "", "-")

+ " "

+ String.ReplaceIfEquals (Number.ToString (Timer.HandleConnectToServer), "", "-")

+ " "

+ String.ReplaceIfEquals (Number.ToString (Timer.ResolveHostNameViaDNS), "", "-")

+ " "

The online help has a few more more in the appendix.

Timer. FirstReceivedFirstSentClient Number

Processing time consumed between receiving the first byte from a client on the appliance and sending the first byte to this client within a transaction

Using this property is only supported when HTTP or HTTPS connections are involved, but not for FTP connections.

Timer. FirstSentFirstReceivedServer Number

Processing time consumed between sending the first byte from the appliance to a web server and receiving the first byte from this server within a transaction

Using this property is only supported when HTTP or HTTPS connections are involved, but not for FTP connections.

Timer.HandleConnectToServer Number Processing time consumed for connecting to a web server within a transaction
Timer. LastReceivedLastSentClient Number

Processing time consumed between receiving the last byte from a client on the appliance and sending the last byte to this client within a transaction

Using this property is only supported when HTTP or HTTPS connections are involved, but not for FTP connections.

Timer.LastSentLastReceived FromServer Number

Processing time consumed between sending the last byte from the appliance to a web server and receiving the last byte from this server within a transaction

Using this property is only supported when HTTP or HTTPS connections are involved, but not for FTP connections.

Timer. ResolveHostNameViaDNS Number

Processing time consumed for looking up a host name on a DNS server within a transaction

Only lookups on external servers are considered. Cache lookups are disregarded.

Timer. TimeConsumedByRuleEngine Number

Time consumed by the rule engine to process a request throughout all relevant processing cycles

Processing a request through all relevant processing cycles is considered one transaction.

Timer.TimeForTransaction Number

Time consumed by the rule engine to process a request that has been received on the appliance through all relevant processing cycles

This property is only supported for HTTP or HTTPS connections, not FTP connections.

0 Kudos
carsten424
Level 7

Re: Logging of response times

That seems great, is there a time for total time between sending the request to the server and the last byte received from the server?

0 Kudos
eelsasser
Level 15

Re: Logging of response times

Timer.TimeForTransAction is from beginning to end. I use that in my logs as the total elapsed time.

But the ones above are the ones it has.

0 Kudos
carsten424
Level 7

Re: Logging of response times

Isn't that the time including the client time, as I am looking for the server delay only.

0 Kudos
McAfee Employee

Re: Logging of response times

Hi Carsten,

You can log it all if you wanted.

HandleConnect to server would represent the handshake time.

Timer. FirstSentFirstReceivedServer would represent the time between when the MWG sent the first byte to the server and when it first recieved a response back.

Otherwise any of the Timer.*Server* woud cover server timings.

Best,

Jon

0 Kudos