.. _slb_server_stats:

slb server stats
================

Statistics for the object server


server Specification
--------------------

	===================================== ================================================================
	 **Parameter**                         **Value** 

	===================================== ================================================================
	 **Type**                              *Collection*

	 **Collection Name**                   :ref:`2879_server_list`

	 **Collection URI**                    /axapi/v3/slb/server/{name}

	                                       

	 **Element Name**                      server

	 **Element URI**                       /axapi/v3/slb/server/{name}/stats

	 **Element Attributes**                server_attributes

	 **Partition Visibility**              None

	 **Schema**                             :download:`server schema <slb-server-stats/slb-server-stats.txt>`
	===================================== ================================================================





	**Operations Allowed:**




.. raw:: html

   <script type="text/javascript">
 function showExample(a,b) { document.getElementById(a+'_div').style.display = 'block'; document.getElementById(a+'_cl').style.display = 'block'; document.getElementById(a+'_eg').style.display = 'none';}
   function closeExample(a,b) { document.getElementById(a+'_div').style.display = 'none'; document.getElementById(a+'_cl').style.display = 'none'; document.getElementById(a+'_eg').style.display = 'block';}
 </script>
   <table width='90%' style='margin-left:5%'>



.. raw:: html

   <tr style='border-bottom: thin solid; border-top: thin solid'><th width=15%>Operation</th><th width=10%>Method</th><th>URI</th><th width=15%>Payload</th><th width=10%></th></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/server/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`2879_server_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create List



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/server/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`2879_server_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get Object



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/server/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`2879_server_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get List



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/server/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`2879_server_list`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Modify Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/server/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`2879_server_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace Object



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/server/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`2879_server_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace List



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/server/{name}



.. raw:: html

   </td><td valign = 'top'>


:ref:`2879_server_list`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Delete Object



.. raw:: html

   </td><td valign = 'top'>


DELETE



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/server/{name}/stats



.. raw:: html

   </td><td valign = 'top'>


:ref:`2879_server_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   </table>

.. _2879_server_list:

server-list
-----------


    server-list is **JSON List** of :ref:`2879_server_attributes` 

        server-list : [

             { :ref:`2879_server_attributes` },

             { :ref:`2879_server_attributes` },

             ...

         ]

.. _2879_server_attributes:

server attributes
-----------------

    **name**

        **Description** Server Name

        **Type:** string

        **Format:** string-rlx

        **Maximum Length:** 127 characters

        **Maximum Length:** 1 characters

    **port-list**

        **Type:** List

        **Reference Object:** :doc:`/axapi/v3/slb/server/{name}/port/{port-number}+{protocol} <slb_server>`

    **stats**

        **Description:** stats is a **JSON Block**.  Please see below for :ref:`2879_stats` 

        **Type:** Object

.. _2879_port-list:

port-list
^^^^^^^^^
	=============================== ===================================================
	**Specification**                 **Value**
	=============================== ===================================================
	 **Type**                        *list*

	 **Block object keys**             

	=============================== ===================================================

    **port-number**

        **Description** Port Number

        **Type:** number

        **Range:** 0-65534

    **protocol**

        **Description** 'tcp': TCP Port; 'udp': UDP Port; 

        **Type:** string

        **Supported Values:** tcp, udp

    **stats**

        **Description:** stats is a **JSON Block**.  Please see below for :ref:`2879_port-list_stats` 

        **Type:** Object

.. _2879_port-list_stats:

port-list_stats
^^^^^^^^^^^^^^^
	=============================== ===================================================
	**Specification**                 **Value**
	=============================== ===================================================
	 **Type**                        *object*

	=============================== ===================================================

    **curr_conn**

        **Description** Current connections

        **Type:** number

        **Format:** counter

    **curr_pconn**

        **Description** Current persistent connections

        **Type:** number

        **Format:** counter

    **curr_req**

        **Description** Current requests

        **Type:** number

        **Format:** counter

    **curr_ssl_conn**

        **Description** Current SSL connections

        **Type:** number

        **Format:** counter

    **es_req_count**

        **Description** Total proxy requests

        **Type:** number

        **Format:** counter

    **es_resp_200**

        **Description** Response status 200

        **Type:** number

        **Format:** counter

    **es_resp_300**

        **Description** Response status 300

        **Type:** number

        **Format:** counter

    **es_resp_400**

        **Description** Response status 400

        **Type:** number

        **Format:** counter

    **es_resp_500**

        **Description** Response status 500

        **Type:** number

        **Format:** counter

    **es_resp_count**

        **Description** Total proxy response

        **Type:** number

        **Format:** counter

    **es_resp_invalid_http**

        **Description** Total non-http response

        **Type:** number

        **Format:** counter

    **es_resp_other**

        **Description** Response status other

        **Type:** number

        **Format:** counter

    **fastest_rsp_time**

        **Description** Fastest response time

        **Type:** number

        **Format:** counter

    **last_total_conn**

        **Description** Last total connections

        **Type:** number

        **Format:** counter

    **peak_conn**

        **Description** Peak connections

        **Type:** number

        **Format:** counter

    **resp-1xx**

        **Description** Response status 1xx

        **Type:** number

        **Format:** counter

    **resp-2xx**

        **Description** Response status 2xx

        **Type:** number

        **Format:** counter

    **resp-3xx**

        **Description** Response status 3xx

        **Type:** number

        **Format:** counter

    **resp-4xx**

        **Description** Response status 4xx

        **Type:** number

        **Format:** counter

    **resp-5xx**

        **Description** Response status 5xx

        **Type:** number

        **Format:** counter

    **resp-count**

        **Description** Total Response Count

        **Type:** number

        **Format:** counter

    **resp-latency**

        **Description** Time to First Response Byte

        **Type:** number

        **Format:** counter

    **resp-other**

        **Description** Response status Other

        **Type:** number

        **Format:** counter

    **response_time**

        **Description** Response time

        **Type:** number

        **Format:** counter

    **slowest_rsp_time**

        **Description** Slowest response time

        **Type:** number

        **Format:** counter

    **total_conn**

        **Description** Total connections

        **Type:** number

        **Format:** counter

    **total_fwd_bytes**

        **Description** Bytes processed in forward direction

        **Type:** number

        **Format:** counter

    **total_fwd_pkts**

        **Description** Packets processed in forward direction

        **Type:** number

        **Format:** counter

    **total_req**

        **Description** Total Requests

        **Type:** number

        **Format:** counter

    **total_req_succ**

        **Description** Total requests succ

        **Type:** number

        **Format:** counter

    **total_rev_bytes**

        **Description** Bytes processed in reverse direction

        **Type:** number

        **Format:** counter

    **total_rev_pkts**

        **Description** Packets processed in reverse direction

        **Type:** number

        **Format:** counter

    **total_rev_pkts_inspected**

        **Description** Total reverse packets inspected

        **Type:** number

        **Format:** counter

    **total_rev_pkts_inspected_good_status_code**

        **Description** Total reverse packets with good status code inspected

        **Type:** number

        **Format:** counter

    **total_ssl_conn**

        **Description** Total SSL connections

        **Type:** number

        **Format:** counter

.. _2879_stats:

stats
^^^^^
	=============================== ===================================================
	**Specification**                 **Value**
	=============================== ===================================================
	 **Type**                        *object*

	=============================== ===================================================

    **curr-conn**

        **Description** Current established connections

        **Type:** number

        **Format:** counter

    **curr_ssl_conn**

        **Description** Current SSL connections established

        **Type:** number

        **Format:** counter

    **fwd-pkt**

        **Description** Forward Packets Processed

        **Type:** number

        **Format:** counter

    **ip_only_lb_fwd_bytes**

        **Description** IP-Only-LB Bytes processed in forward direction

        **Type:** number

        **Format:** counter

    **ip_only_lb_fwd_pkts**

        **Description** IP-Only-LB Packets processed in forward direction

        **Type:** number

        **Format:** counter

    **ip_only_lb_rev_bytes**

        **Description** IP-Only-LB Bytes processed in reverse direction

        **Type:** number

        **Format:** counter

    **ip_only_lb_rev_pkts**

        **Description** IP-Only-LB Packets processed in reverse direction

        **Type:** number

        **Format:** counter

    **peak-conn**

        **Description** Peak number of established connections

        **Type:** number

        **Format:** counter

    **rev-pkt**

        **Description** Reverse Packets Processed

        **Type:** number

        **Format:** counter

    **total-conn**

        **Description** Total established connections

        **Type:** number

        **Format:** counter

    **total_fwd_bytes**

        **Description** Bytes processed in forward direction

        **Type:** number

        **Format:** counter

    **total_fwd_pkts**

        **Description** Packets processed in forward direction

        **Type:** number

        **Format:** counter

    **total_req**

        **Description** Total Requests processed

        **Type:** number

        **Format:** counter

    **total_req_succ**

        **Description** Total Requests succeeded

        **Type:** number

        **Format:** counter

    **total_rev_bytes**

        **Description** Bytes processed in reverse direction

        **Type:** number

        **Format:** counter

    **total_rev_pkts**

        **Description** Packets processed in reverse direction

        **Type:** number

        **Format:** counter

    **total_ssl_conn**

        **Description** Total SSL connections established

        **Type:** number

        **Format:** counter