S3 インポートタスクの一覧を取得します。
今すぐお試しください
テスト
RAM 認証
リクエスト構文
GET /s3ingestions HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| project |
string |
任意 |
プロジェクトの名前です。 |
testproject |
| offset |
integer |
任意 |
取得結果の開始位置です。デフォルト値は 0 です。 |
0 |
| size |
integer |
任意 |
ページングクエリにおける 1 ページあたりの行数です。 |
100 |
| logstore |
string |
任意 |
Logstore の名前です。 |
test |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答スキーマ |
||
| total |
integer |
クエリに一致するエントリの総数です。 |
3 |
| count |
integer |
現在のページで返されたタスクの数です。 |
3 |
| results |
array |
タスク構成の詳細情報です。 |
|
| S3Ingestion |
タスク構成の詳細情報です。 |
例
成功レスポンス
JSONJSON
{
"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": {
"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": false,
"format": {
"key": "{\"type\": \"line\"}"
},
"advancedParameters": {
"key": ""
}
}
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。