--- title: "자동 내보내기 설정 " slug: "analytics-cloudloganalytics-setexportconfig" tags: ["Cloud Log Analytics"] updated: 2026-10-22T10:47:29Z published: 2026-10-22T10:47:29Z canonical: "api-gov.ncloud-docs.com/analytics-cloudloganalytics-setexportconfig" --- > ## Documentation Index > Fetch the complete documentation index at: https://api-gov.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 자동 내보내기 설정 Classic/VPC 환경에서 이용 가능합니다. Cloud Log Analytics 서비스에서 조회한 로그의 자동 내보내기를 설정합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | POST | /api/{regionCode}-v1/export/config | ### 요청 헤더 Cloud Log Analytics API에서 공통으로 사용하는 헤더에 대한 정보는 [Cloud Log Analytics 요청 헤더](/docs/analytics-cloudloganalytics#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `regionCode` | String | Required | 리전 코드 - `kr` \| `krs` - `kr`: 수도권 - `krs`: 남부권 | ### 요청 바디 요청 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `exportBucket` | Integer | Required | Object Storage의 버킷 이름 - [버킷 목록 조회](/docs/analytics-cloudloganalytics-getbucketlist) 참조 | | `logTypes` | String | Required | 로그 유형 | | `regionNo` | Integer | Required | 리전 번호 | | `obsPathType` | String | Optional | 자동 내보내기 경로 - `2` (기본값) \| `3` - `2`: /CLA/AutoExport/{logtype}/{YYYY}/{MM}/{DD}/{logtype}{hh}.json.gz - `3`: /CLA/AutoExport/{YYYY}/{MM}/{DD}/{logtype}{hh}.json.gz | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request POST 'https://cloudloganalytics.apigw.gov-ntruss.com/api/{regionCode}-v1/export/config' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' \ --data '{ "exportBucket": "asdcx", "logTypes": [ "all" ], "regionNo": "1", "obsPathType": "2" }' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `code` | Integer | - | 응답 상태 코드 | | `message` | String | - | 응답 상태 메시지 | | `result` | String | - | 응답 결과 | ### 응답 상태 코드 Cloud Log Analytics API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Cloud Log Analytics 응답 상태 코드](/docs/analytics-cloudloganalytics#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "code": 0, "message": "요청이 정상적으로 처리되었습니다", "result": "Success" } ```