Viewing usage
    • PDF

    Viewing usage

    • PDF

    Article summary

    The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

    Description

    View the capacity used by Cloud Log Analytics.

    Requests

    Request URL

    GET https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/capacity
    

    Request headers

    Header nameDescription
    x-ncp-apigw-timestampIt indicates the time elapsed since January 1, 1970 00:00:00 UTC in milliseconds,
    and if the time difference compared to the API Gateway server is more than 5 minutes, then the request is considered invalid

    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-apigw-api-keyKey value issued by APIGW
    x-ncp-apigw-api-key:{API Gateway API Key}
    x-ncp-iam-access-keyAccess Key ID value issued from NAVER Cloud Platform portal
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v2Signature encrypted with the Access Key ID value and Secret Key
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-TypeSet the Request body content type to application/json
    Content-Type: application/json

    Examples

    Request examples

    https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/capacity
    HOST: cloudloganalytics.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: FJSBB4K3XnaGAvVe0Hzj3/2hfNWvgLHR1rQHW2Et2Rs=
    x-ncp-apigw-timestamp: 1593848345548
    x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo
    
    
    curl -X GET "https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/capacity" 
    -H "accept: application/json" 
    -H "x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo" 
    -H "x-ncp-apigw-timestamp: 1594521602999" 
    -H "x-ncp-apigw-signature-v2: HJby4f2A4oQyvixBACBqPJsPJqgOG2sh3QTurLl+RTs="  
    

    Response examples

    {
      "code": 0,
      "message": "Your request has been processed normally",
      "result": {
        "prodNo": 3,
        "prodNm": "Premium",
        "prodSubNm": null,
        "prodNmDefaultYn": null,
        "saveTerm": "4w",
        "dataSize": "1000.0G",
        "dataLimit": null,
        "dataLimitDaily": null,
        "alarmLimitCount": null,
        "prodYmdt": null,
        "usageSize": "470M",
        "remainSize": "1023530.0M",
        "usagePercent": 0.0458984375
      }
    }
    

    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.