sxltraffic-by-time

The following shows how to generate the sxltraffic-by-time report using either the Reporting API's Generate a report POST operation or the Get a cacheable report GET operation. Details about each report's supported products, metrics, filters, and available data intervals are also available dynamically by running the API's Get a report type operation, also shown below. See also other available reports.

Report definition

Provides data that is associated with the traffic between an origin web server or a set of origins.

This report allows you to configure the aggregation interval for each data record. Available interval values are: MONTH, WEEK, DAY, HOUR, FIVE_MINUTES.

Business object: cpcode

Data available for: 92 days

Required products: Session Accelerator

Available metrics

MetricDescription
Data metrics
concurrentSessionsConnections, measured at five minute intervals. A connection is counted if the user is connected for any part of the five minute period. For example, if User X disconnects at minute 2 and User Y connects at minute 4, this is considered two concurrent connections, or if User X logs disconnects at minute 2 and reconnects at minute 4, it is also considered two concurrent connections.
incomingBitsPerSecondThe rate of traffic from the client to the origin (Incoming) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals, based on connectivity from Akamai's distributed network to edge nodes on your network. For other services, the estimated number of incoming edge requests per second.
outgoingBitsPerSecondThe rate of traffic to the client from the origin (Outgoing) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network. For other services, the estimated number of outgoing edge requests.
Summary metrics
concurrentSessionsLatestThe most recent number of connections, measured at five minute intervals. A connection is counted if the user is connected for any part of the five minute period.
concurrentSessionsMaxThe highest number of connections, measured at five minute intervals. A connection is counted if the user is connected for any part of the five minute period.
incomingBytesPercentThe portion of traffic volume from the client to the origin (Incoming) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals, based on connectivity from Akamai's distributed network to edge nodes on your network.
incomingBytesTotalThe total volume of traffic from the client to the origin (Incoming) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals, based on connectivity from Akamai's distributed network to edge nodes on your network.
outgoingBytesPercentThe portion of traffic volume to the client from the origin (Outgoing) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network.
outgoingBytesTotalThe total volume of traffic to the client from the origin (Outgoing) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network.
throughputBitsPerSecondLatestThe latest rate of traffic from the client to the origin (Incoming) and the rate of traffic to the client from the origin (Outgoing), for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network.
throughputBitsPerSecondMaxThe highest rate of traffic from the client to the origin (Incoming) and the rate of traffic to the client from the origin (Outgoing), for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network.

Available filters

FilterTypeDescription
Optional filters
slotIntegerA unique configuration for a hostname.

POST request

POST /reporting-api/v1/reports/sxltraffic-by-time/versions/2/report-data{?start,​end,​interval}

Sample: /reporting-api/v1/reports/sxltraffic-by-time/versions/2/report-data?start​=2020-06-26T13%3A40%3A00Z​&end​=2020-06-26T14%3A00%3A00Z​&interval​=FIVE_MINUTES

Query parameters

ParameterTypeSampleDescription
Required
startString2020-06-26T13:40:00ZSpecifies the start of the reported period as an ISO-8601 timestamp with optional time zone. The report includes data that matches the start value's timestamp.
endString2020-06-26T14:00:00ZSpecifies the end of the reported period as an ISO-8601 timestamp with optional time zone. The report excludes any data that matches the end value's timestamp.
intervalEnumerationFIVE_MINUTESThe duration of each data record. Available values: MONTH, WEEK, DAY, HOUR, FIVE_MINUTES.

JSON request members

MemberTypeDescription
objectIdsArraySpecifies the set of cpcode values you want to report on.
objectIdsEnumerationAs an alternative to an array of ID values, specify all as a string for unfiltered data. Either way, objectIds is required.
metricsArrayThe set of desired metrics. If omitted, the report includes all available metrics.
filtersMap of arraysSpecifies a set of custom filters, with each filter's name keying an array with each filter's set of values.

Request body:

{
    "objectIds": [
        "55232",
        "23433",
        "32433"
    ],
    "metrics": [
        "concurrentSessions",
        "concurrentSessionsLatest",
        "concurrentSessionsMax",
        "incomingBitsPerSecond",
        "incomingBytesPercent",
        "incomingBytesTotal",
        "outgoingBitsPerSecond",
        "outgoingBytesPercent",
        "outgoingBytesTotal",
        "throughputBitsPerSecondLatest",
        "throughputBitsPerSecondMax"
    ],
    "filters": {
        "slot": [
            "11838",
            "140"
        ]
    }
}

GET request

GET /reporting-api/v1/reports/sxltraffic-by-time/versions/2/report-data{?start,​end,​interval,​objectIds,​allObjectIds,​metrics,​filters}

Sample: /reporting-api/v1/reports/sxltraffic-by-time/versions/2/report-data?start​=2020-06-26T13%3A40%3A00Z​&end​=2020-06-26T14%3A00%3A00Z​&interval​=FIVE_MINUTES​&objectIds​=55232,​23433,​32433​&metrics​=concurrentSessions%2CconcurrentSessionsLatest​&filters​=slot%3D11838%2Cslot%3D8927

Query parameters

ParameterTypeSampleDescription
Required
startString2022-06-23T13:55:00ZSpecifies the start of the reported period as an ISO-8601 timestamp with optional time zone. The report includes data that matches the start value’s timestamp.
endString2022-06-23T14:15:00ZSpecifies the end of the reported period as an ISO-8601 timestamp with optional time zone. The report excludes any data that matches the end value’s timestamp.
intervalEnumerationFIVE_MINUTESThe duration of each data record. Available values: MONTH, WEEK, DAY, HOUR, FIVE_MINUTES.
Optional
allObjectIdsBooleantrueAs an alternative to objectIds, enabling this generates a report that includes all IDs available for the cpcode objectType. This parameter is ignored if the request also specifies a set of objectIds.
objectIdsString55232,​23433,​32433As an alternative to allObjectIds, specifies the set of unique IDs for the cpcode objectType you want to report on, formatted as a comma-delimited list.
metricsStringconcurrentSessions,​concurrentSessionsLatestSpecifies a comma-separated list of metrics to include in the report, otherwise all metrics if omitted. The set of available metrics depends on the type of report. URL-encode the entire value in the GET request.
filtersStringslot=​11838,​slot=​8927Specifies criteria to filter the report's data. The set of available filters depends on the type of report. Separate each filter name and value with an equals (=) character, and separate various name/value pairs with commas (,). To specify more than one filter value, repeat the filter name. See the accompanying example for guidance. URL-encode the entire value in the GET request.

JSON response

Status 200 application/json

Response body:

{
    "metadata": {
        "name": "sxltraffic-by-time",
        "version": "2",
        "outputType": "FLAT",
        "groupBy": [
            "startdatetime"
        ],
        "interval": "FIVE_MINUTES",
        "start": "2020-06-26T13:40:00Z",
        "end": "2020-06-26T14:00:00Z",
        "availableDataEnds": null,
        "suggestedRetryTime": null,
        "rowCount": 4,
        "filters": [
            {
                "name": "slot",
                "values": [
                    "8927",
                    "11838"
                ]
            }
        ],
        "columns": [
            {
                "name": "groupBy",
                "label": "startdatetime"
            },
            {
                "name": "concurrentSessions",
                "label": "Concurrent Sessions"
            },
            {
                "name": "incomingBitsPerSecond",
                "label": "Incoming Traffic Throughput"
            },
            {
                "name": "outgoingBitsPerSecond",
                "label": "Outgoing Traffic Throughput"
            }
        ],
        "objectType": "cpcode",
        "objectIds": [
            "55232",
            "23433",
            "32433"
        ]
    },
    "data": [
        {
            "startdatetime": "2020-06-26T13:40:00Z",
            "concurrentSessions": "2798",
            "incomingBitsPerSecond": "3972.340497",
            "outgoingBitsPerSecond": "2503.676738"
        },
        {
            "startdatetime": "2020-06-26T13:45:00Z",
            "concurrentSessions": "2480",
            "incomingBitsPerSecond": "4308.06875",
            "outgoingBitsPerSecond": "3609.953062"
        },
        {
            "startdatetime": "2020-06-26T13:50:00Z",
            "concurrentSessions": "325",
            "incomingBitsPerSecond": "2110.338426",
            "outgoingBitsPerSecond": "498.569977"
        },
        {
            "startdatetime": "2020-06-26T13:55:00Z",
            "concurrentSessions": "4623",
            "incomingBitsPerSecond": "2690.91139",
            "outgoingBitsPerSecond": "2842.420202"
        }
    ],
    "summaryStatistics": {
        "concurrentSessionsLatest": {
            "value": "2868",
            "details": {}
        },
        "concurrentSessionsMax": {
            "value": "2167",
            "details": {}
        },
        "incomingBytesPercent": {
            "value": "14",
            "details": {}
        },
        "incomingBytesTotal": {
            "value": "4985",
            "details": {}
        },
        "outgoingBytesPercent": {
            "value": "25",
            "details": {}
        },
        "outgoingBytesTotal": {
            "value": "784",
            "details": {}
        },
        "throughputBitsPerSecondLatest": {
            "value": "4802.178265",
            "details": {}
        },
        "throughputBitsPerSecondMax": {
            "value": "3657.924059",
            "details": {}
        }
    }
}

CSV response

Status 200 text/csv

Response Body:

#METADATA_START
name,​sxltraffic-by-time
version,​2
source,​sxltraffic-by-time/versions/2
groupBy,​startdatetime
start,​2020-06-26T13:40:00Z
end,​2020-06-26T14:00:00Z
interval,`FIVE_MINUTES`
availableDataEnds,
suggestedRetryTime,
rowCount,​4
objectType,​cpcode
objectIds,​55232,​23433,​32433
slot,​8927,​11838
#METADATA_END

#SUMMARYSTATISTICS_START
concurrentSessionsLatest,​2868
concurrentSessionsMax,​2167
incomingBytesPercent,​14
incomingBytesTotal,​4985
outgoingBytesPercent,​25
outgoingBytesTotal,​784
throughputBitsPerSecondLatest,​4802.178265
throughputBitsPerSecondMax,​3657.924059
#SUMMARYSTATISTICS_END

#COLUMNS_START
startdatetime,​concurrentSessions,​incomingBitsPerSecond,​outgoingBitsPerSecond
#COLUMNS_END

#DATA_START
2020-06-26T13:40:00Z,2798,​3972.340497,​2503.676738
2020-06-26T13:45:00Z,2480,​4308.06875,​3609.953062
2020-06-26T13:50:00Z,325,​2110.338426,​498.569977
2020-06-26T13:55:00Z,4623,​2690.91139,​2842.420202
#DATA_END

Get report details

This sample Get a report type operation gets the same information you need to run the sxltraffic-by-time report as provided in this reference documentation, but available dynamically to your API client application.

GET /reporting-api/v1/reports/sxltraffic-by-time/versions/2

Status 200 application/json

Response body:

{
    "name": "sxltraffic-by-time",
    "description": "Provides data that is associated with the traffic between an origin web server or a set of origins.",
    "businessObjectName": "cpcode",
    "version": 2,
    "status": "PUBLISHED",
    "deprecated": false,
    "timeBased": true,
    "outputType": "FLAT",
    "requiredProducts": [
        "Session Accelerator"
    ],
    "requiredRoles": [
        "Pulsar IPA/SXL Read Only"
    ],
    "available": true,
    "metrics": [
        {
            "name": "concurrentSessions",
            "description": "Connections, measured at five minute intervals. A connection is counted if the user is connected for any part of the five minute period. For example, if User X disconnects at minute 2 and User Y connects at minute 4, this is considered two concurrent connections, or if User X logs disconnects at minute 2 and reconnects at minute 4, it is also considered two concurrent connections.",
            "label": "Concurrent Sessions",
            "unit": "COUNT",
            "summaryStatistic": false
        },
        {
            "name": "concurrentSessionsLatest",
            "description": "The most recent number of connections, measured at five minute intervals. A connection is counted if the user is connected for any part of the five minute period.",
            "label": "Concurrent Sessions Latest",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "concurrentSessionsMax",
            "description": "The highest number of connections, measured at five minute intervals. A connection is counted if the user is connected for any part of the five minute period.",
            "label": "Concurrent Sessions Peak",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "incomingBitsPerSecond",
            "description": "The rate of traffic from the client to the origin (Incoming) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals, based on connectivity from Akamai's distributed network to edge nodes on your network. For other services, the estimated number of incoming edge requests per second.",
            "label": "Incoming Traffic Throughput",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": false
        },
        {
            "name": "incomingBytesPercent",
            "description": "The portion of traffic volume from the client to the origin (Incoming) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals, based on connectivity from Akamai's distributed network to edge nodes on your network.",
            "label": "Total Incoming Traffic Volume Percentage",
            "unit": "RATIO",
            "summaryStatistic": true
        },
        {
            "name": "incomingBytesTotal",
            "description": "The total volume of traffic from the client to the origin (Incoming) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals, based on connectivity from Akamai's distributed network to edge nodes on your network.",
            "label": "Total Incoming Traffic Volume",
            "unit": "BYTE",
            "summaryStatistic": true
        },
        {
            "name": "outgoingBitsPerSecond",
            "description": "The rate of traffic to the client from the origin (Outgoing) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network. For other services, the estimated number of outgoing edge requests.",
            "label": "Outgoing Traffic Throughput",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": false
        },
        {
            "name": "outgoingBytesPercent",
            "description": "The portion of traffic volume to the client from the origin (Outgoing) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network.",
            "label": "Total Outgoing Traffic Volume Percentage",
            "unit": "RATIO",
            "summaryStatistic": true
        },
        {
            "name": "outgoingBytesTotal",
            "description": "The total volume of traffic to the client from the origin (Outgoing) for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network.",
            "label": "Total Outgoing Traffic Volume",
            "unit": "BYTE",
            "summaryStatistic": true
        },
        {
            "name": "throughputBitsPerSecondLatest",
            "description": "The latest rate of traffic from the client to the origin (Incoming) and the rate of traffic to the client from the origin (Outgoing), for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network.",
            "label": "Latest Total Throughput",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "throughputBitsPerSecondMax",
            "description": "The highest rate of traffic from the client to the origin (Incoming) and the rate of traffic to the client from the origin (Outgoing), for origins that are served by associated Sureroute IP (SRIP) endpoints, converted into bits per second at 5-minute intervals. Based on connectivity from Akamai's distributed network to edge nodes on your network.",
            "label": "Peak Total Throughput",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": true
        }
    ],
    "groupOutlyingValues": {
        "enabled": false
    },
    "groupBy": [
        "startdatetime"
    ],
    "filters": [
        {
            "name": "slot",
            "type": "int",
            "description": "A unique configuration for a hostname.",
            "required": false
        }
    ],
    "intervals": [
        "MONTH",
        "WEEK",
        "DAY",
        "HOUR",
        "FIVE_MINUTES"
    ],
    "dataRetentionDays": 92,
    "links": [
        {
            "rel": "self",
            "href": "/reporting-api/v1/reports/sxltraffic-by-time/versions/2"
        },
        {
            "rel": "versions",
            "href": "/reporting-api/v1/reports/sxltraffic-by-time/versions"
        },
        {
            "rel": "all-reports",
            "href": "/reporting-api/v1/reports"
        },
        {
            "rel": "execute-report",
            "href": "/reporting-api/v1/reports/sxltraffic-by-time/versions/2/report-data"
        }
    ]
}