All Products
Search
Document Center

Simple Log Service:CreateOSSExport

Last Updated:Nov 13, 2025

Exports logs from a Logstore to an OSS bucket.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.

  • The name can contain only lowercase letters, digits, hyphens (-), and underscores (_).

  • The name must start and end with a lowercase letter or a digit.

  • The name must be 2 to 64 characters in length.

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.