13.5 Viewing stats-xml and perfdump Reports Through a Browser

If you enable URI access to statistics as described in Section 13.3, you can access the stats-xml and perfdump reports through a browser by using the following URL:

http://host:port/uri

host and port are the IP address (or host name) and port number of the virtual server for which you enabled URI access to statistics. uri is the location that you specified while enabling URI access. Note that if a virtual server is associated with multiple listeners, you can use the address host:port of any of the listeners to access the URI-based reports.

  • For example, if /perfdump is the configured URI for the plain-text report for the virtual server soa.example.com:1904, the URL that you should use to access the report would be the following:

    http://soa.example.com:1904/perfdump
    

    In the URL, you can also specify the interval, in seconds, after which the browser should refresh the perfdump report automatically, as shown in the following example:

    http://soa.example.com:1904/perfdump?refresh=5
    
  • Similarly, if /stats-xml is the configured URI for the XML report for the virtual server soa.example.com:1904, the URL that you should use to access the XML report would be the following:

    http://soa.example.com:1904/stats-xml
    

    You can limit the data that the XML report provides by specifying a URL query string indicating the elements that should not be displayed. If you do not include a query string, all the elements in the XML report are displayed.

    For example, the query string specified in the following URL suppresses display of the virtual-server and server-pool elements in the XML report.

    http://soa.example.com:1904/stats-xml?virtual-server=0&server-pool=0
    

    The following list shows the hierarchy of elements in the statistics XML report. Note that when you opt to suppress an element in the report, the child elements of that element are also suppressed.

    server
      connection-queue
      thread-pool
      profile (if profiling is enabled)
      process
        connection-queue-bucket
        thread-pool-bucket
        dns-bucket
        keepalive-bucket
        compression-bucket
        decompression-bucket
        thread
          request-bucket
          profile-bucket
      virtual-server
        request-bucket
        profile-bucket
      server-pool
        origin-server-bucket
      cache-bucket
      cpu-info