Exports logs from a Logstore to an OSS bucket.
Try it now
Test
RAM authorization
Request syntax
POST /ossexports HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
my-project |
| body |
object |
No |
The configuration of the OSS data shipping job. |
|
| name |
string |
Yes |
The name of the job. The name must meet the following requirements: The job name must be unique within the project.
|
export-oss-1234567890-123456 |
| displayName |
string |
Yes |
The display name of the job. |
my-oss-job |
| description |
string |
No |
The description of the job. |
创建一个OSS投递任务 |
| configuration | OSSExportConfiguration |
Yes |
The configuration of the job. |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 401 | AuthorizationRequired | Authorization Required |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.