slb rate-limit-log

Show rate limit logging statistics

rate-limit-log Specification

Type Configuration Resource
Element Name rate-limit-log
Element URI /axapi/v3/slb/rate-limit-log
Element Attributes rate-limit-log_attributes
Statistics Data URI /axapi/v3/slb/rate-limit-log/stats
Schema rate-limit-log schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/slb/rate-limit-log

rate-limit-log Attributes

Get Object

GET

/axapi/v3/slb/rate-limit-log

rate-limit-log Attributes

Modify Object

POST

/axapi/v3/slb/rate-limit-log

rate-limit-log Attributes

Replace Object

PUT

/axapi/v3/slb/rate-limit-log

rate-limit-log Attributes

Delete Object

DELETE

/axapi/v3/slb/rate-limit-log

rate-limit-log Attributes

Get Stats

GET

/axapi/v3/slb/rate-limit-log/stats

stats data

rate-limit-log Attributes

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

uuid

Description: uuid of the object

Type: string

sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘total_log_times’: Total log times; ‘total_log_msg’: Total log messages; ‘local_log_msg’: Local log messages; ‘remote_log_msg’: Remote log messages; ‘local_log_rate’: Local rate (per sec); ‘remote_log_rate’: Remote rate (per sec); ‘msg_too_big’: Log message too big; ‘buff_alloc_fail’: Buffer alloc fail; ‘no_route’: No route; ‘buff_send_fail’: Buffer send fail; ‘alloc_conn’: Log-session alloc; ‘free_conn’: Log-session free; ‘conn_alloc_fail’: Log-session alloc fail; ‘no_repeat_msg’: No repeat message;

Type: string

Supported Values: all, total_log_times, total_log_msg, local_log_msg, remote_log_msg, local_log_rate, remote_log_rate, msg_too_big, buff_alloc_fail, no_route, buff_send_fail, alloc_conn, free_conn, conn_alloc_fail, no_repeat_msg

stats data

Counter Size Description
msg_too_big 8 Log message too big
buff_send_fail 8 Buffer send fail
remote_log_rate 8 Remote rate (per sec)
alloc_conn 8 Log-session alloc
no_repeat_msg 8 No repeat message
free_conn 8 Log-session free
conn_alloc_fail 8 Log-session alloc fail
local_log_msg 8 Local log messages
total_log_msg 8 Total log messages
no_route 8 No route
remote_log_msg 8 Remote log messages
buff_alloc_fail 8 Buffer alloc fail
local_log_rate 8 Local rate (per sec)
total_log_times 8 Total log times