日志告警配置接口 : 新增
post/api/v1/alarm/log/monitor/add
Query parameters
grp_idinteger
组Id,和对象id二选一
endpoint_idinteger
对象Id,和组id二选一
pathstring required
表单输入的日志路径
strategystring required
对象数组类型[{'keyword':'关键字','cond':'条件,如 >1','last':'时间范围,如 5min','priority':'优先级,如 high'}]
Response
{"message": "Success"}
string required
Changes
Changed in 2 of the 3 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲