Submits a batch of log ingestion tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:SubmitImportLogTasks |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProdCode |
string |
Yes |
The code of the product. |
qcloud_waf |
| LogCodes |
string |
No |
The list of logs to be ingested. The value must be a JSON array. |
["cloud_siem_qcloud_cfw_alert_log"] |
| Accounts |
string |
No |
The list of accounts for log ingestion. The value must be a JSON array. Valid values:
|
[{"AccountId":"123123","Imported":1}] |
| AutoImported |
integer |
No |
Specifies whether to automatically enable log ingestion for accounts that are configured with the specified log. Valid values:
|
1 |
| CloudCode |
string |
Yes |
The code of the cloud service provider. |
hcloud |
| RegionId |
string |
No |
The region where the data management center for Threat Analysis is located. Select a region based on the location of your assets. Valid values:
|
cn-hangzhou |
| RoleFor |
integer |
No |
The user ID of the member that the administrator wants to access. |
113091674488**** |
| RoleType |
integer |
No |
The type of view. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
CloudSiemSuccessResponse |
||
| Data |
object |
The data returned. |
|
| Count |
integer |
The number of log ingestion tasks that are successfully submitted. |
10 |
| RequestId |
string |
The request ID. |
6276D891-*****-55B2-87B9-74D413F7**** |
Examples
Success response
JSON format
{
"Data": {
"Count": 10
},
"RequestId": "6276D891-*****-55B2-87B9-74D413F7****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.