ddos zone-template logging

Logging template Configuration

logging Specification

Parameter Value
Type Collection
Object Key(s) logging-tmpl-name
Collection Name logging-list
Collection URI /axapi/v3/ddos/zone-template/logging
Element Name logging
Element URI /axapi/v3/ddos/zone-template/logging/{logging-tmpl-name}
Element Attributes logging_attributes
Partition Visibility shared
Schema logging schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/ddos/zone-template/logging

logging attributes

Create List

POST

/axapi/v3/ddos/zone-template/logging

logging attributes

Get Object

GET

/axapi/v3/ddos/zone-template/logging/{logging-tmpl-name}

logging attributes

Get List

GET

/axapi/v3/ddos/zone-template/logging

logging-list

Modify Object

POST

/axapi/v3/ddos/zone-template/logging/{logging-tmpl-name}

logging attributes

Replace Object

PUT

/axapi/v3/ddos/zone-template/logging/{logging-tmpl-name}

logging attributes

Replace List

PUT

/axapi/v3/ddos/zone-template/logging

logging-list

Delete Object

DELETE

/axapi/v3/ddos/zone-template/logging/{logging-tmpl-name}

logging attributes

logging-list

logging-list is JSON List of logging attributes

logging-list : [

logging attributes

enable-action-logging

Description Log action taken

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

log-format-cef

Description Log in CEF format

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

log-format-custom

Description Customize log format

Type: string

Format: string-rlx

Maximum Length: 512 characters

Maximum Length: 1 characters

logging-tmpl-name

Description DDOS Logging Template Name

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

Default: default

use-obj-name

Description Show obj name instead of ip in the log

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

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