Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getDbServerLogList

Prev Next

The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

Available in VPC

Overview

Query a Cloud DB for MySQL instance database server log list.

Requests

Request parameters

Parameter name Requirement status Type Restrictions Description
regionCode No String - Region code
regionCode can be obtained via the getRegionList action
Default: selects the first region of the getRegionList query results
logType Yes String - Database server log file type
Options : BINARY | ERROR | SLOW | GENERAL | AUDIT
cloudMysqlServerInstanceNo Yes String - Cloud DB for MySQL server instance number
cloudMysqlServerInstanceNo can be obtained via the getCloudMysqlInstanceList action
output No String - Format type of the response result
Options : xml | json
Default : json

Responses

Response data type

  • CloudMysqlDbServerLogList type
CloudMysqlDbServerLogList extends CommonResponse
private Integer totalRows;
private List<CloudMysqlDbServerLog> cloudMysqlDbServerLogList = new ArrayList<>();
CloudMysqlDbServerLog
private String fileName;
private Long fileSize;
private Date fileDate;

Examples

Request examples

ncloud vmysql getDbServerLogList --regionCode KR --logType BINARY --cloudMysqlServerInstanceNo ****891

Response examples

<getDbServerLogListResponse>
    <requestId>d733e677-ad69-4cbe-8351-711d0e0124bc</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <cloudMysqlDbServerLogList>
        <cloudMysqlDbServerLog>
            <fileName>mysql-bin.000001</fileName>
            <fileSize>194</fileSize>
            <fileDate>2021-05-27T18:10:00+0900</fileDate>
        </cloudMysqlDbServerLog>
    </cloudMysqlDbServerLogList>
</getDbServerLogListResponse>