Lists OSS import tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:ListS3Ingestions |
list |
*All Resource
|
None | None |
Request syntax
GET /s3ingestions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
No |
The name of the project. |
testproject |
| offset |
integer |
No |
The offset of the returned results in the centralized data storage. Default value: 0. |
0 |
| size |
integer |
No |
The number of entries per page in a paged query. |
100 |
| logstore |
string |
No |
The name of the Logstore. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| count |
integer |
The number of tasks returned on the current page. |
3 |
| results |
array |
The detailed task configurations. |
|
| S3Ingestion |
The detailed task configurations. |
||
| total |
integer |
The total number of tasks that match the query conditions. |
3 |
Examples
Success response
JSON format
{
"count": 3,
"results": [
{
"configuration": {
"logstore": "myLogstore",
"source": {
"advancedParameters": {
"key": ""
},
"awsAccessKey": "AKIxxxxxxxxxxYJE",
"awsAccessKeySecret": "123xxxxxxxxxxfjf",
"awsRegion": "ap-northeast-1",
"awsSQSQueueUrl": "https://sqs.ap-northeast-1.amazonaws.com/123456788/chifan",
"awsUseSQS": false,
"bucket": "s3bucket",
"cloudFrontEndpoint": "dtfsb7voqy76q.cloudfront.net ",
"cloudFrontToken": "@test-s3-access/ABS",
"compressionCodec": "none",
"encoding": "UTF-8",
"endTime": 1714360481,
"endpoint": "s3.us-east-1.amazonaws.com",
"format": {
"key": "{\"type\": \"line\"}"
},
"interval": "30m",
"pattern": ".*",
"prefix": "prefix",
"processorId": "ingest-processor-1756802123-953901",
"startTime": 1714274081,
"tagPackId": false,
"timeField": "__time__",
"timeFormat": "yyyy-MM-dd HH:mm:ss",
"timePattern": "[0-9]{0,2}\\/[0-9a-zA-Z]+\\/[0-9:,]+",
"timeZone": "GMT+08:00",
"useAwsSQSOnly": false,
"useCloudFront": false
}
},
"createTime": 1714360481,
"description": "s3 ingestion",
"displayName": "s3 ingestion",
"lastModifiedTime": 1714360481,
"name": "ingest-s3-123456",
"schedule": {
"cronExpression": "0/5 * * * *",
"delay": 4,
"interval": "1m/1h",
"runImmediately": false,
"timeZone": "\"+0800\"",
"type": "Cron"
},
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"status": "RUNNING"
}
],
"total": 3
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.