ListS3Ingestions - 列出OSS匯入任務
更新時間:
Copy as MD
列出s3匯入任務
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
GET /s3ingestions HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| project |
string |
否 |
project 名稱。 |
testproject |
| offset |
integer |
否 |
返回結果在全部資料集中的位移位置, 預設為 0 。 |
0 |
| size |
integer |
否 |
分頁查詢時,設定的每頁行數。 |
100 |
| logstore |
string |
否 |
Logstore 名稱 |
test |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| total |
integer |
符合查詢條件的總數。 |
3 |
| count |
integer |
當前頁返回的任務個數。 |
3 |
| results |
array |
任務配置詳細 |
|
| S3Ingestion |
任務配置詳細 |
樣本
正常返回樣本
JSON格式
{
"total": 3,
"count": 3,
"results": [
{
"name": "ingest-s3-123456",
"description": "s3 ingestion",
"displayName": "s3 ingestion",
"schedule": {
"type": "FixedRate",
"cronExpression": "0/5 * * * *",
"runImmediately": false,
"timeZone": "+0800",
"delay": 4,
"interval": "60s"
},
"createTime": 1714360481,
"lastModifiedTime": 1714360481,
"status": "RUNNING",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"configuration": {
"logstore": "myLogstore",
"source": {
"awsRegion": "ap-northeast-1",
"awsAccessKey": "AKIxxxxxxxxxxYJE",
"awsAccessKeySecret": "123xxxxxxxxxxfjf",
"bucket": "s3bucket",
"compressionCodec": "none",
"encoding": "UTF-8",
"interval": "30m",
"pattern": ".*",
"prefix": "prefix",
"awsUseSQS": false,
"awsSQSQueueUrl": "https://sqs.ap-northeast-1.amazonaws.com/123456788/chifan",
"useAwsSQSOnly": false,
"tagPackId": false,
"startTime": 1714274081,
"endTime": 1714360481,
"timeField": "__time__",
"timeFormat": "yyyy-MM-dd HH:mm:ss",
"timePattern": "[0-9]{0,2}\\/[0-9a-zA-Z]+\\/[0-9:,]+",
"timeZone": "GMT+08:00",
"processorId": "ingest-processor-1756802123-953901",
"endpoint": "s3.us-east-1.amazonaws.com",
"cloudFrontEndpoint": "dtfsb7voqy76q.cloudfront.net ",
"cloudFrontToken": "@test-s3-access/ABS",
"useCloudFront": true,
"format": {
"key": "{\"type\": \"line\"}"
},
"advancedParameters": {
"key": ""
}
}
}
}
]
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。
该文章对您有帮助吗?