.. _fw_template_logging_enable_log_by_destination: fw template logging enable-log-by-destination ============================================= Enable firewall logging by the destination IP address, protocol, and port enable-log-by-destination Specification --------------------------------------- ===================================== ============================================================================================= **Parameter** **Value** ===================================== ============================================================================================= **Type** *Configuration Resource* **Element Name** enable-log-by-destination **Element URI** /axapi/v3/fw/template/logging/{name}/enable-log-by-destination **Element Attributes** enable-log-by-destination_attributes **Partition Visibility** shared **Schema** :download:`enable-log-by-destination 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 .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/fw/template/logging/{name}/enable-log-by-destination .. raw:: html :ref:`1783_enable-log-by-destination_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/fw/template/logging/{name}/enable-log-by-destination .. raw:: html :ref:`1783_enable-log-by-destination_attributes` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/fw/template/logging/{name}/enable-log-by-destination .. raw:: html :ref:`1783_enable-log-by-destination_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/fw/template/logging/{name}/enable-log-by-destination .. raw:: html :ref:`1783_enable-log-by-destination_attributes` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/fw/template/logging/{name}/enable-log-by-destination .. raw:: html :ref:`1783_enable-log-by-destination_attributes` .. raw:: html
.. _1783_enable-log-by-destination_attributes: enable-log-by-destination attributes ------------------------------------ **icmp** **Description** Enable logging for the ICMP traffic **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **ip-list** **Type:** List **Reference Object:** :doc:`/axapi/v3/fw/template/logging/{name}/enable-log-by-destination/ip/{ipv4-addr} ` **ip6-list** **Type:** List **Reference Object:** :doc:`/axapi/v3/fw/template/logging/{name}/enable-log-by-destination/ip6/{ipv6-addr} ` **others** **Description** Enable logging for the other layer-4 protocols **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **tcp-list** **Type:** List **udp-list** **Type:** List **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _1783_ip-list: ip-list ^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **icmp** **Description** Enable logging for the ICMP traffic **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **ipv4-addr** **Description** Configure an IP subnet **Type:** string **Format:** ipv4-cidr **others** **Description** Enable logging for the other layer-4 protocols **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **tcp-list** **Type:** List **udp-list** **Type:** List **user-tag** **Description** Customized tag **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _1783_ip-list_tcp-list: ip-list_tcp-list ^^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **tcp-port-end** **Description** Port Range End **Type:** number **tcp-port-start** **Description** Destination Port (Single Destination Port or Port Range Start) **Type:** number .. _1783_ip-list_udp-list: ip-list_udp-list ^^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **udp-port-end** **Description** Port Range End **Type:** number **udp-port-start** **Description** Destination Port (Single Destination Port or Port Range Start) **Type:** number .. _1783_tcp-list: tcp-list ^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **tcp-port-end** **Description** Port Range End **Type:** number **tcp-port-start** **Description** Destination Port (Single Destination Port or Port Range Start) **Type:** number .. _1783_ip6-list: ip6-list ^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **icmp** **Description** Enable logging for the ICMP traffic **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **ipv6-addr** **Description** Configure an IPv6 subnet **Type:** string **Format:** ipv6-address-plen **others** **Description** Enable logging for the other layer-4 protocols **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **tcp-list** **Type:** List **udp-list** **Type:** List **user-tag** **Description** Customized tag **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _1783_ip6-list_tcp-list: ip6-list_tcp-list ^^^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **tcp-port-end** **Description** Port Range End **Type:** number **tcp-port-start** **Description** Destination Port (Single Destination Port or Port Range Start) **Type:** number .. _1783_ip6-list_udp-list: ip6-list_udp-list ^^^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **udp-port-end** **Description** Port Range End **Type:** number **udp-port-start** **Description** Destination Port (Single Destination Port or Port Range Start) **Type:** number .. _1783_udp-list: udp-list ^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **udp-port-end** **Description** Port Range End **Type:** number **udp-port-start** **Description** Destination Port (Single Destination Port or Port Range Start) **Type:** number