GetGCSIngestion
Updated at:
Retrieves a GCP Cloud Storage file import task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetGCSIngestion |
get |
*Project
|
None | None |
Request syntax
GET /gcsingestions/{gcsIngestionName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| gcsIngestionName |
string |
Yes |
The name of the GCS import task. |
ingest-gcs-12345 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The project name. |
test |
Response elements
|
Element |
Type |
Description |
Example |
| GCSIngestion |
The GCS import task. |
Examples
Success response
JSON format
{
"configuration": {
"logstore": "myLogstore",
"source": {
"accessKeyId": "GOxxxxxxxxxxxxxxxxxxxxY4",
"accessKeySecret": "4WgxxxxxxxxxxxxxxxxxxxxxxxxxxxxxY9SKycWj",
"advancedParameters": {
"key": "示例:{\"test1\": \"xxxxx\"}"
},
"bucket": "gcsbucket",
"compressionCodec": "none",
"encoding": "UTF-8",
"endTime": 1714360481,
"endpoint": "https://storage.googleapis.com",
"format": {
"key": "{\"type\":\"Line\"}"
},
"interval": "5m",
"pattern": ".*",
"prefix": "prefix",
"processorId": "ingest-processor-17568xxxxx-xxxxx1",
"startTime": 1714274081,
"tagPackId": true,
"timeField": "__time__",
"timeFormat": "yyyy-MM-dd HH:mm:ss",
"timePattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}",
"timeZone": "GMT+08:00"
}
},
"createTime": 1714360481,
"description": "gcs ingestion",
"displayName": "gcs ingestion",
"lastModifiedTime": 1714360581,
"name": "ingest-gcs-123456",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"status": "RUNNING"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?