slb template dns-logging custom-log

setting customizing log

custom-log Specification

Parameter Value
Type Collection
Object Key(s) trigger-reason
Collection Name 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 custom-log schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/slb/template/dns-logging/{name}/custom-log

custom-log attributes

Create List

POST

/axapi/v3/slb/template/dns-logging/{name}/custom-log

custom-log attributes

Get Object

GET

/axapi/v3/slb/template/dns-logging/{name}/custom-log/{trigger-reason}

custom-log attributes

Get List

GET

/axapi/v3/slb/template/dns-logging/{name}/custom-log

custom-log-list

Modify Object

POST

/axapi/v3/slb/template/dns-logging/{name}/custom-log/{trigger-reason}

custom-log attributes

Replace Object

PUT

/axapi/v3/slb/template/dns-logging/{name}/custom-log/{trigger-reason}

custom-log attributes

Replace List

PUT

/axapi/v3/slb/template/dns-logging/{name}/custom-log

custom-log-list

Delete Object

DELETE

/axapi/v3/slb/template/dns-logging/{name}/custom-log/{trigger-reason}

custom-log attributes

custom-log-list

custom-log-list is JSON List of custom-log attributes

custom-log-list : [

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