getDbServerLogList
    • PDF

    getDbServerLogList

    • PDF

    Article Summary

    Available in VPC

    View Cloud DB for PostgreSQL database server log list.

    Requests

    Request Parameters

    ParameterTypeRequirement StatusDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained via the getRegionList action
    - default: Selects the first region of the getRegionList query results
    -
    logTypeStringYDatabase server log file type
    - options: POSTGRESQL_LOG
    -
    cloudPostgresqlServerInstanceNoStringYCloud DB for PostgreSQL server instance number
    - cloudPostgresqlServerInstanceNo can be obtained via the getCloudPostgresqlInstanceList action
    -
    pageNoIntegerNPage number of paged results
    - The results can be paged using pageNo and pageSize
    - Min: 0
    pageSizeIntegerNSize of each page to be shown during paging
    - The results can be paged using pageNo and pageSize
    - Enter it every time you enter pageNo
    - Min: 1
    - Max: 1000
    responseFormatTypeStringNFormat type of the response result
    - options: xml | json
    - default: xml
    -

    Responses

    Response bodies

    For response bodies, refer to CloudPostgresqlDbServerLogList.

    Examples

    Request Examples

    The following is an example of a request body.

    GET {API_URL}/getDbServerLogList
    ?regionCode=KR
    &logType=POSTGRESQL_LOG
    &cloudPostgresqlServerInstanceNo=****891
    

    Response examples

    The following are examples of responses.

    If the response shows that format type (responseFormatType) is json

    {
      "getDbServerLogListResponse": {
        "requestId": "d733e677-ad69-4cbe-8351-711d0e0124bc",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": "1",
        "cloudPostgresqlDbServerLogList": [
          {
            "fileName": "postgresql_000000.log",
            "fileSize": "194",
            "fileDate": "2021-05-27T18:10:00+0900"
          }
        ]
      }
    }
    

    If the response shows that format type (responseFormatType) is xml

    <getDbServerLogListResponse>
        <requestId>d733e677-ad69-4cbe-8351-711d0e0124bc</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <cloudPostgresqlDbServerLogList>
            <cloudPostgresqlDbServerLog>
                <fileName>postgresql_000000.log</fileName>
                <fileSize>194</fileSize>
                <fileDate>2021-05-27T18:10:00+0900</fileDate>
            </cloudPostgresqlDbServerLog>
        </cloudPostgresqlDbServerLogList>
    </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.