All Products
Search
Document Center

Simple Log Service:CreateOSSExport

Last Updated:Nov 13, 2024

Ships logs from a Simple Log Service Logstore to an Object Storage Service (OSS) bucket.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /ossexports HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The configurations of the OSS data shipping job.

namestringYes

The unique identifier of the OSS data shipping job.

job-123456789-123456
displayNamestringYes

The display name of the job.

ali-test-oss-job
descriptionstringNo

The description of the job.

configurationOSSExportConfigurationYes

The configuration details of the job.

Response parameters

ParameterTypeDescriptionExample
headersobject
Serverstring
nginx
Content-Typestring
application/json
Content-Lengthstring
0
Connectionstring
close
x-log-requestidstring
5B0A6B60BB6EE39764D458B5

Examples

Sample success responses

JSONformat

{}

Error codes

HTTP status codeError codeError message
401AuthorizationRequiredAuthorization Required

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history