日志回捞
1.创建任务
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/log-analyze/upsertTask
Body:
{
"mobileAppId": 8843,
"name": "ceui",
"sceneId": 7,
"pluginId": 10,
"expireTime": "2022-07-23 18:40",
"startTime": "2022-07-23 18:40",
"endTime": "2022-07-23 18:40",
"uploadType": 1,
"targetType": 0,
"email": "8843",
"description": "8843",
"status": 0,
"items": [
{
"taskId": 8843,
"mobileAppId": 8843,
"targetId": "1"
},
{
"taskId": 8843,
"mobileAppId": 8843,
"targetId": "2"
},
{
"taskId": 8843,
"mobileAppId": 8843,
"targetId": "3"
}
]
}
2.修改状态
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/log-analyze/changeStatus
Query params:
Key | Value |
---|---|
mobileAppId | 7787 |
taskId | 1,2 |
status | -1 |
3.任务列表
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/log-analyze/getTaskList
Body:
{
"mobileAppId": 8843,
"name": "ce",
"status": "all"
}
4.导出模板
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/config/key-url/exportTemplate
Query params:
Key | Value |
---|---|
module | logTask |
mobileAppId | 123 |
5.日志收集列表
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/log-analyze/getLogCollectionList
Query params:
Key | Value |
---|---|
module | logTask |
mobileAppId | 123 |
Body:
{
"mobileAppId":"7543",
"deviceId":"",
"userId":"",
"taskId":"398"
}