getGlobalCdnMonitoringData
    • PDF

    getGlobalCdnMonitoringData

    • PDF

    Article Summary

    Overview

    Searches the Global CDN monitoring data.

    Request

    Request parameter

    Parameter nameRequirement statusTypeRestrictionsDescription
    cdnInstanceNoList.NYesList<String>CDN instance number list
    cdnInstanceNoList.1=2323
    startDateYesStringFormat is "yyyyMMddHH"Search start date and time
    endDateYesStringFormat is "yyyyMMddHH"Search end date and time
    responseFormatTypeNoStringJSON or XMLResponse type

    Response

    Every response returns success/failure with a HTTP status code.

    HTTP status codeCode messageDescription
    200SuccessSearch succeeded
    401UnauthorizedAuthentication failed
    500Internal Server ErrorServer error

    Property

    ItemRequirement statusTypeDescription
    startDateNoStringSearch start date and time "yyyyMMddHH"
    endDateNoStringSearch end date and time "yyyyMMddHH"
    aggregationNoLongAggregation time information of response data (sec)
    bandwidthDataUnitNoStringEdge traffic unit (bps)
    bandwidthDataRecordListNoList<List<Double>>Traffic data list
    volumeDataUnitNoStringEdge transmission unit (byte)
    volumeDataRecordListNoList<List<Long>>Transmission data list
    requestDataUnitNoLongEdge request unit (count)
    requestDataRecordListNoList<List<Long>>Request count data list
    offloadDataUnitNoStringHit rate unit (%)
    offloadDataRecordListNoList<List<Double>>Hit rate data list
    xxxEdgeHitsDataUnitNoStringUnit of numbers by edge response code (count)
    twoxxEdgeHitsDataRecordListNoList<List<Long>>Number of 2xx response codes
    threexxEdgeHitsDataRecordListNoList<List<Long>>Number of 3xx response codes
    fourxxEdgeHitsDataRecordListNoList<List<Long>>Number of 4xx response codes
    fivexxEdgeHitsDataRecordListNoList<List<Long>>Number of 5xx response codes
    pointStartNoLongSearch start time
    pointIntervalNoLongAggregation time information of response data (millisec)
    maxBandwidthNoDoubleMaximum edge traffic within the period
    totalVolumeNoLongTotal transmission within the period
    totalRequestNoLongTotal number of requests within the period
    maxOffloadNoDoubleMaximum hit rate within the period (%
    totalTwoxxEdgeHitsNoLongTotal number of edge's 2xx response codes within the period
    totalThreexxEdgeHitsNoLongTotal number of edge's 3xx response codes within the period
    totalFourxxEdgeHitsNoLongTotal number of edge's 4xx response codes within the period
    totalFivexxEdgeHitsNoLongTotal number of edge's 5xx response codes within the period

    Examples

    Request examples

    https://ncloud.apigw.ntruss.com/cdn/v2/getGlobalCdnMonitoringData?cdnInstanceNoList.1=1234&endDate=2022032600&startDate=2022032000&responseFormatType=XML
    

    Response examples

    <getGlobalCdnMonitoringDataResponse>
    <requestId>73cf4bd3-f724-4a29-b69c-5785420a425b</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <startDate>2022032000</startDate>
    <endDate>2022032600</endDate>
    <aggregation>3600</aggregation>
    <volumeDataRecordList>
    <list>
    <long>1648195200000</long>
    <int>23751</int>
    </list>
    <list>
    <long>1648198800000</long>
    <int>5349332</int>
    </list>
    </volumeDataRecordList>
    <requestDataRecordList>
    <list>
    <long>1648195200000</long>
    <int>12</int>
    </list>
    <list>
    <long>1648198800000</long>
    <int>13</int>
    </list>
    </requestDataRecordList>
    <bandwidthDataRecordList>
    <list>
    <long>1648195200000</long>
    <double>1.9933333333333334E-5</double>
    </list>
    <list>
    <long>1648198800000</long>
    <double>0.006013422222222222</double>
    </list>
    </bandwidthDataRecordList>
    <offloadDataRecordList>
    <list>
    <long>1648195200000</long>
    <int>0</int>
    </list>
    <list>
    <long>1648198800000</long>
    <double>23.076923076923077</double>
    </list>
    </offloadDataRecordList>
    <twoxxEdgeHitsDataRecordList>
    <list>
    <long>1648195200000</long>
    <int>0</int>
    </list>
    <list>
    <long>1648198800000</long>
    <int>3</int>
    </list>
    </twoxxEdgeHitsDataRecordList>
    <threexxEdgeHitsDataRecordList>
    <list>
    <long>1648195200000</long>
    <int>0</int>
    </list>
    <list>
    <long>1648198800000</long>
    <int>3</int>
    </list>
    </threexxEdgeHitsDataRecordList>
    <fourxxEdgeHitsDataRecordList>
    <list>
    <long>1648195200000</long>
    <int>12</int>
    </list>
    <list>
    <long>1648198800000</long>
    <int>7</int>
    </list>
    </fourxxEdgeHitsDataRecordList>
    <fivexxEdgeHitsDataRecordList>
    <list>
    <long>1648195200000</long>
    <int>0</int>
    </list>
    <list>
    <long>1648198800000</long>
    <int>0</int>
    </list>
    </fivexxEdgeHitsDataRecordList>
    <volumeDataUnit>bytes</volumeDataUnit>
    <requestDataUnit>count</requestDataUnit>
    <bandwidthDataUnit>bps</bandwidthDataUnit>
    <offloadDataUnit>percent</offloadDataUnit>
    <xxxEdgeHitsDataUnit>count</xxxEdgeHitsDataUnit>
    <pointStart>1647702000000</pointStart>
    <pointInterval>3600000</pointInterval>
    <maxBandwidth>0.006013422222222222</maxBandwidth>
    <totalVolume>5373083</totalVolume>
    <totalRequest>25</totalRequest>
    <maxOffload>23.076923076923077</maxOffload>
    <totalTwoxxEdgeHits>3</totalTwoxxEdgeHits>
    <totalThreexxEdgeHits>3</totalThreexxEdgeHits>
    <totalFourxxEdgeHits>19</totalFourxxEdgeHits>
    <totalFivexxEdgeHits>0</totalFivexxEdgeHits>
    </getGlobalCdnMonitoringDataResponse>
    

    Error codes

    Error CodeDescription
    29100Invalid Global CDN rule format.
    29101Can not operate this Global CDN service. Please check status.
    29102Invalid Global CDN purge request.
    29103Invalid Global CDN service domain type code.
    29104Please enter Forward Host Header.
    29105Invalid Origin server.
    29106Invalid Origin server ports.
    29107Invalid Origin File Storage.
    29108Please enter Referrer Domain.
    29109Invalid service name.
    29110Please enter service domain.
    29111Invalid service domain.
    29112Invalid Global CDN instance.
    29113Only HTTP protocol is allowed when Origin is File Storage.
    29114This domain can not set as origin.
    29115For HTTPS protocol, only CDN domain can be set.
    29116An error occurred in purge request.
    29117Invalid origin path.
    29118Invalid referrer domain.
    29119Invalid rule for access log.
    29120Invalid Forward Host Header.
    29121Referrer Domains can be added up to 50.
    29122Can not request purge for the CDN service. Please check status.
    29123The purge function can only be used after about 3 hours after the creation request is made.
    29124There is an error in the service domain name entered during the purge request.

    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.