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:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ddos/zone-template/logging | ||
Create List | POST | /axapi/v3/ddos/zone-template/logging | ||
Get Object | GET | /axapi/v3/ddos/zone-template/logging/{logging-tmpl-name} | ||
Get List | GET | /axapi/v3/ddos/zone-template/logging | ||
Modify Object | POST | /axapi/v3/ddos/zone-template/logging/{logging-tmpl-name} | ||
Replace Object | PUT | /axapi/v3/ddos/zone-template/logging/{logging-tmpl-name} | ||
Replace List | PUT | /axapi/v3/ddos/zone-template/logging | ||
Delete Object | DELETE | /axapi/v3/ddos/zone-template/logging/{logging-tmpl-name} | ||
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