slb rate-limit-log¶
Configure rate limit logging
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 Operational Data URI /axapi/v3/slb/rate-limit-log/oper Schema rate-limit-log schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/slb/rate-limit-log | ||
Get Object | GET | /axapi/v3/slb/rate-limit-log | ||
Modify Object | POST | /axapi/v3/slb/rate-limit-log | ||
Replace Object | PUT | /axapi/v3/slb/rate-limit-log | ||
Delete Object | DELETE | /axapi/v3/slb/rate-limit-log |
rate-limit-log attributes¶
sampling-enable
Type: Listuuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
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; ‘local_log_dropped’: Local log dropped due to rate-limit;
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, local_log_dropped
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 | |
local_log_dropped | 8 | Local log dropped due to rate-limit | |
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 |
operational data¶
Counter | Size | Description | |
---|---|---|---|
cpu-count | number | cpu-count | |
rate-limit-log-cpu-list | rate-limit-log-cpu-list |