exportDbServerLogToObjectStorage
    • PDF

    exportDbServerLogToObjectStorage

    • PDF

    Article Summary

    Available in VPC

    Transfer Cloud DB for PostgreSQL database server log files to Object Storage.

    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
    -
    fileNameStringYDatabase server log file name
    - fileName can be obtained via the getDbServerLogList action
    -
    bucketNameStringYObject Storage bucket name
    - You can obtain bucketName through the getCloudPostgresqlBucketList action
    -
    cloudPostgresqlServerInstanceNoStringYCloud DB for PostgreSQL server instance number
    - cloudPostgresqlServerInstanceNo can be obtained via the getCloudPostgresqlInstanceList action
    -
    responseFormatTypeStringNFormat type of the response result
    - options: xml | json
    - default: xml
    -

    Examples

    Request Examples

    The following is an example of a request body.

    GET {API_URL}/exportDbServerLogToObjectStorage
    ?regionCode=KR
    &logType=POSTGRESQL_LOG
    &fileName=postgresql_000000.log
    &bucketName=postgresql-log
    &cloudPostgresqlServerInstanceNo=****891
    

    Response examples

    The following are examples of responses.

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

    {
      "exportDbServerLogToObjectStorageResponse": {
        "requestId": "6564e513-acd5-4fe3-ac62-2ab16ee267e8",
        "returnCode": "0",
        "returnMessage": "success"
      }
    }
    

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

    <exportDbServerLogToObjectStorageResponse>
        <requestId>6564e513-acd5-4fe3-ac62-2ab16ee267e8</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
    </exportDbServerLogToObjectStorageResponse>
    

    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.