.. _slb_template_dns_logging_custom_log: slb template dns-logging custom-log =================================== setting customizing log custom-log Specification ------------------------ ===================================== ==================================================================================================== **Parameter** **Value** ===================================== ==================================================================================================== **Type** *Collection* **Object Key(s)** *trigger-reason* **Collection Name** :ref:`3114_custom-log_list` **Collection URI** /axapi/v3/slb/template/dns-logging/{name}/custom-log **Element Name** custom-log **Element URI** /axapi/v3/slb/template/dns-logging/{name}/custom-log/{trigger-reason} **Element Attributes** custom-log_attributes **Partition Visibility** shared **Schema** :download:`custom-log 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/slb/template/dns-logging/{name}/custom-log .. raw:: html :ref:`3114_custom-log_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/slb/template/dns-logging/{name}/custom-log .. raw:: html :ref:`3114_custom-log_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/slb/template/dns-logging/{name}/custom-log/{trigger-reason} .. raw:: html :ref:`3114_custom-log_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/slb/template/dns-logging/{name}/custom-log .. raw:: html :ref:`3114_custom-log_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/slb/template/dns-logging/{name}/custom-log/{trigger-reason} .. raw:: html :ref:`3114_custom-log_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/slb/template/dns-logging/{name}/custom-log/{trigger-reason} .. raw:: html :ref:`3114_custom-log_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/slb/template/dns-logging/{name}/custom-log .. raw:: html :ref:`3114_custom-log_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/slb/template/dns-logging/{name}/custom-log/{trigger-reason} .. raw:: html :ref:`3114_custom-log_attributes` .. raw:: html
.. _3114_custom-log_list: custom-log-list --------------- custom-log-list is **JSON List** of :ref:`3114_custom-log_attributes` custom-log-list : [ { :ref:`3114_custom-log_attributes` }, { :ref:`3114_custom-log_attributes` }, ... ] .. _3114_custom-log_attributes: custom-log attributes --------------------- **enable** **Description** Enable this log **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **format** **Description** Request Message (Custom message string) **Type:** string **Format:** string-rlx **Maximum Length:** 255 characters **Maximum Length:** 1 characters **trigger-reason** **Description** 'request': log when request comes from client; 'response': log when response to client; **Type:** string **Supported Values:** request, response **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