slb rate-limit-log¶
Configure rate limit logging
rate-limit-log Specification¶
Parameter Value Type Configuration Resource Element Name rate-limit-log Element URI /axapi/v3/slb/rate-limit-log Element Attributes rate-limit-log_attributes Partition Visibility shared 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 Value 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