Modify the sample of api 'get anomaly rule'
Change-Id: I1fdd2d842bba249f5dc6412555b6db015a24c5f2
This commit is contained in:
parent
5172929f9d
commit
e37e8a75ee
@ -0,0 +1,28 @@
|
||||
{
|
||||
"code": 0,
|
||||
"msg": "OK",
|
||||
"rules": [
|
||||
{
|
||||
"id": "152f637bbd5646ab8e69313512514c4c",
|
||||
"title": "new name",
|
||||
"desc": "\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u89c4\u5219",
|
||||
"keyword": "Running periodic task",
|
||||
"log_type": "flog",
|
||||
"module": "venus",
|
||||
"flag": 1,
|
||||
"create_time": "2023-08-01T03:24:24.000000",
|
||||
"update_time": "2023-08-01T09:22:54.000000"
|
||||
},
|
||||
{
|
||||
"id": "378c888fd4d946f6a6e2f4e2d4100ff4",
|
||||
"title": "\u6d4b\u8bd5\u89c4\u5219",
|
||||
"desc": "\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u89c4\u5219",
|
||||
"keyword": "out of memory",
|
||||
"log_type": "flog",
|
||||
"module": "nova",
|
||||
"flag": 1,
|
||||
"create_time": "2023-08-01T08:24:54.000000",
|
||||
"update_time": "2023-08-01T08:24:54.000000"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,29 +1,15 @@
|
||||
{
|
||||
"code": 0,
|
||||
"msg": "OK",
|
||||
"rules": [
|
||||
{
|
||||
"id": "152f637bbd5646ab8e69313512514c4c",
|
||||
"title": "new name",
|
||||
"desc": "\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u89c4\u5219",
|
||||
"keyword": "Running periodic task",
|
||||
"log_type": "flog",
|
||||
"module": "venus",
|
||||
"flag": 1,
|
||||
"create_time": "2023-08-01T03:24:24.000000",
|
||||
"update_time": "2023-08-01T09:22:54.000000"
|
||||
},
|
||||
{
|
||||
"id": "378c888fd4d946f6a6e2f4e2d4100ff4",
|
||||
"title": "\u6d4b\u8bd5\u89c4\u5219",
|
||||
"desc": "\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u89c4\u5219",
|
||||
"keyword": "out of memory",
|
||||
"log_type": "flog",
|
||||
"module": "nova",
|
||||
"flag": 1,
|
||||
"create_time": "2023-08-01T08:24:54.000000",
|
||||
"update_time": "2023-08-01T08:24:54.000000"
|
||||
}
|
||||
]
|
||||
"rule": {
|
||||
"id": "152f637bbd5646ab8e69313512514c4c"
|
||||
"title": "\u6d4b\u8bd5\u89c4\u5219",
|
||||
"desc": "\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u89c4\u5219",
|
||||
"keyword": "Running periodic task",
|
||||
"log_type": "flog",
|
||||
"module": "venus",
|
||||
"flag": 1,
|
||||
"create_time": "2023-08-01T03:24:24.000000",
|
||||
"update_time": "2023-08-01T03:24:24.000000"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user