MENU
      Get automatic export settings

        Get automatic export settings


        Article summary

        Available in Classic and VPC

        Get the history of automatic export settings for logs retrieved from the Cloud Log Analytics service.

        Request

        This section describes the request format. The method and URI are as follows:

        MethodURI
        GET/api/{regionCode}-v1/export/config

        Request headers

        For information about the headers common to all Cloud Log Analytics APIs, see Cloud Log Analytics request headers.

        Request path parameters

        You can use the following path parameters with your request:

        FieldTypeRequiredDescription
        regionCodeStringRequiredRegion code
        • kr | sgn | jpn | uswn | den
          • kr: Korea Region
          • sgn: Singapore Region
          • jpn: Japan Region
          • uswn: US West Region
          • den: Germany Region

        Request query parameters

        You can use the following path parameters with your request:

        FieldTypeRequiredDescription
        pageNoIntegerOptionalPage number
        • 1-100 (default: 1)
        pageSizeIntegerOptionalNumber of items per page
        • 20-100 (default: 20)

        Request example

        The request example is as follows:

        curl --location --request GET 'https://cloudloganalytics.apigw.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 'Accept: application/json' \
        Shell

        Response

        This section describes the response format.

        Response body

        The response body includes the following data:

        FieldTypeRequiredDescription
        codeInteger-Response status codes
        messageString-Response status message
        resultObject-Response result
        result.pageSizeInteger-Number of items per page
        result.currentPageInteger-Current page number
        result.totalPageInteger-Total page number
        result.totalCountInteger-Total item count
        result.isPagedBoolean-Whether additional pages exist
        • true | false
          • true: It exists
          • false: It doesn't exist
        result.exportConfigInfoArray-Automatic export settings history

        exportConfigInfo

        The following describes exportConfigInfo.

        FieldTypeRequiredDescription
        startymdtInteger-Automatic export settings date and time
        exportStatusStringRequiredAutomatic export settings status
        regionNoInteger-Region number
        exportBucketString-Object Storage's bucket name
        logTypesString-Automatic export log type
        obsPathTypeString-Automatic export storage path

        Response status codes

        For response status codes common to all Cloud Log Analytics APIs, see Cloud Log Analytics response status codes.

        Response example

        The response example is as follows:

        {
          "code": 0,
          "message": "The request has been successfully processed.",
          "result": {
            "pageSize": 10,
            "currentPage": 1,
            "totalPage": 1,
            "totalCount": 1,
            "isPaged": true,
            "exportConfigInfo": [
              {
                "configKey": "5338e2fabd0a4070af67013e61adccbf",
                "start_ymdt": "2025-01-06 16:25:44",
                "export_types": "Auto",
                "regionNo": "1",
                "bucketName": "catalog-cdbmy",
                "folderName": null,
                "log_types": "Application,SYSLOG",
                "obsPathType": 3
              }
            ]
          }
        }
        JSON

        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.