日志告警配置接口 : 新增
Changed onpost/api/v1/alarm/log/monitor/add
Request
- Base URLhttps://monitor.test.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking