ListGCSIngestions
Lists Google Cloud Storage (GCS) file import jobs.
Try it now
Test
RAM authorization
Request syntax
GET /gcsingestions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
testproject |
| offset |
integer |
No |
The position from which to start returning results. The default value is 0. |
0 |
| size |
integer |
No |
The number of results to return on each page. |
100 |
| logstore |
string |
No |
The name of the Logstore. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The schema of the response. |
||
| total |
integer |
The total number of entries that match the query. |
100 |
| count |
integer |
The number of jobs returned on the current page. |
100 |
| results |
array |
The details of the job configurations. |
|
| GCSIngestion |
The details of the job configuration. |
Examples
Success response
JSON format
{
"total": 100,
"count": 100,
"results": [
{
"name": "ingest-gcs-123456",
"description": "gcs ingestion",
"displayName": "gcs ingestion",
"configuration": {
"logstore": "myLogstore",
"source": {
"endpoint": "oss-cn-hangzhou.aliyuncs.com",
"bucket": "gcsbucket",
"compressionCodec": "none",
"encoding": "UTF-8",
"interval": "never",
"pattern": ".*",
"prefix": "prefix",
"restoreObjectEnabled": 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",
"tagPackId": false,
"processorId": "ingest-processor-1756802123-953901",
"accessKeyId": "",
"accessKeySecret": "",
"format": {
"key": ""
}
}
},
"createTime": 1714360481,
"status": "RUNNING",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"lastModifiedTime": 1714360581
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.