.. _rule_set_rule_stats: rule-set rule stats =================== Statistics for the object rule rule Specification ------------------ ===================================== ========================================================================== **Parameter** **Value** ===================================== ========================================================================== **Type** *Collection* **Collection Name** :ref:`1804_rule_list` **Collection URI** /axapi/v3/rule-set/{name}/rule/{name} **Element Name** rule **Element URI** /axapi/v3/rule-set/{name}/rule/{name}/stats **Element Attributes** rule_attributes **Partition Visibility** None **Schema** :download:`rule schema ` ===================================== ========================================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/rule-set/{name}/rule/{name} .. raw:: html :ref:`1804_rule_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/rule-set/{name}/rule/{name} .. raw:: html :ref:`1804_rule_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/rule-set/{name}/rule/{name}/stats .. raw:: html :ref:`1804_rule_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/rule-set/{name}/rule/{name} .. raw:: html :ref:`1804_rule_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/rule-set/{name}/rule/{name}/stats .. raw:: html :ref:`1804_rule_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/rule-set/{name}/rule/{name}/stats .. raw:: html :ref:`1804_rule_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/rule-set/{name}/rule/{name} .. raw:: html :ref:`1804_rule_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/rule-set/{name}/rule/{name}/stats .. raw:: html :ref:`1804_rule_attributes` .. raw:: html
.. _1804_rule_list: rule-list --------- rule-list is **JSON List** of :ref:`1804_rule_attributes` rule-list : [ { :ref:`1804_rule_attributes` }, { :ref:`1804_rule_attributes` }, ... ] .. _1804_rule_attributes: rule attributes --------------- **name** **Description** Rule name **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **stats** **Description:** stats is a **JSON Block**. Please see below for :ref:`1804_stats` **Type:** Object .. _1804_stats: stats ^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *object* =============================== =================================================== **active-session-icmp** **Description** Active ICMP session counter **Type:** number **Format:** counter **active-session-other** **Description** Active other protocol session counter **Type:** number **Format:** counter **active-session-sctp** **Description** Active SCTP session counter **Type:** number **Format:** counter **active-session-tcp** **Description** Active TCP session counter **Type:** number **Format:** counter **active-session-udp** **Description** Active UDP session counter **Type:** number **Format:** counter **deny-bytes** **Description** Denied bytes counter **Type:** number **Format:** counter **deny-packets** **Description** Denied packets counter **Type:** number **Format:** counter **hit-count** **Description** Hit counts **Type:** number **Format:** counter **hitcount-timestamp** **Description** Last hit counts timestamp **Type:** number **Format:** counter **permit-bytes** **Description** Permitted bytes counter **Type:** number **Format:** counter **permit-packets** **Description** Permitted packets counter **Type:** number **Format:** counter **rate-limit-drops** **Description** Rate Limit Drops **Type:** number **Format:** counter **reset-bytes** **Description** Reset bytes counter **Type:** number **Format:** counter **reset-packets** **Description** Reset packets counter **Type:** number **Format:** counter **session-icmp** **Description** ICMP session counter **Type:** number **Format:** counter **session-other** **Description** Other protocol session counter **Type:** number **Format:** counter **session-sctp** **Description** SCTP session counter **Type:** number **Format:** counter **session-tcp** **Description** TCP session counter **Type:** number **Format:** counter **session-udp** **Description** UDP session counter **Type:** number **Format:** counter