5 Replies Latest reply on Jul 24, 2014 4:59 PM by Jon Scholten

    Logging of response times

    carsten424

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

        • 1. 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.

          1 of 1 people found this helpful
          • 2. Re: Logging of response times
            carsten424

            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?

            • 3. 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.

              • 4. Re: Logging of response times
                carsten424

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

                • 5. Re: Logging of response times
                  Jon Scholten

                  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