Export
- Print
- PDF
Export
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in Classic and VPC
Export logs queried in the Cloud Log Analytics service to Object Storage.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
POST | /api/{regionCode}-v1/logs/search/export |
Request headers
For information about the headers common to all Cloud Log Analytics APIs, see Cloud Log Analytics request headers.
Request path parameters
You can use the following path parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
regionCode | String | Required | Region code
|
Request body
You can include the following data in the body of your request:
Field | Type | Required | Description |
---|---|---|---|
bucketname | String | Required | Object Storage's bucket name
|
keyword | String | Optional | Query keyword
|
logTypes | String | Optional | Log type
|
timestampFrom | String | Optional | Query start date and time
|
timestampTo | String | Optional | Query end date and time
|
regionNo | Integer | Optional | Region number |
Request example
The request example is as follows:
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
code | Integer | - | Response status codes |
message | String | - | Response status message |
result | Boolean | - | Response result
|
Response status codes
For response status codes common to all Cloud Log Analytics APIs, see Cloud Log Analytics response status codes.
Response example
The response example is as follows:
Was this article helpful?