getDbServerLogList
    • PDF

    getDbServerLogList

    • PDF

    Article Summary

    Available in VPC

    Overview

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

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    regionCode can be obtained via the getRegionList action
    Default: selects the first region of the getRegionList query results
    logTypeYesString- Database server log file type
    Options : BINARY | ERROR | SLOW | GENERAL | AUDIT
    cloudMysqlServerInstanceNoYesString- Cloud DB for MySQL server instance number
    cloudMysqlServerInstanceNo can be obtained via the getCloudMysqlInstanceList action
    outputNoString- 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>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.