exportDbServerLogToObjectStorage
    • PDF

    exportDbServerLogToObjectStorage

    • PDF

    Article Summary

    개요

    Cloud DB for PostgreSQL 데이터베이스 서버 로그 파일을 Object Storage로 전송합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString리전 코드
    regionCode는 getRegionList 액션을 통해서 획득할 수 있습니다.
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    logTypeYesString데이터베이스 서버 로그 파일 타입
    Options : POSTGRESQL_LOG
    fileNameYesString데이터베이스 서버 로그 파일 이름
    fileName은 getDbServerLogList 액션을 통해서 획득할 수 있습니다.
    bucketNameYesStringObject Storage 버킷 이름
    bucketName은 getCloudPostgresqlBucketList 액션을 통해서 획득할 수 있습니다.
    cloudPostgresqlServerInstanceNoYesStringCloud DB for PostgreSQL 서버 인스턴스 번호
    cloudPostgresqlServerInstanceNo는 getCloudPostgresqlInstanceList 액션을 통해서 획득할 수 있습니다.
    outputNoString응답 결과의 포맷 타입
    Options : xml | json
    Default : json

    예시

    요청 예시

    ncloud vpostgresql exportDbServerLogToObjectStorage --regionCode KR --logType POSTGRESQL_LOG --fileName postgresql_000000.log --bucketName postgresql-log --cloudPostgresqlServerInstanceNo ****891
    

    응답 예시

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

    이 문서가 도움이 되었습니까?

    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.