Logo

CDN collectors

Akamai CDN Collector

The Akamai cdn collector by Datazoom makes the following data points automatically collectable in real time and correlatable to data collected from Datazoom application collectors configured with a media player extension.

Data Points

Events

Discrete occurrences driven by user interactions or system actions

Fluxdata

Metrics measuring changing parameters over time

Events

CDN Log

Metadata

User Details

App Session ID

Data type
string
Number Type
Not set
Required
true

Client IP Address

Data type
string
Number Type
Not set
Permitted Values
IP address

Content Session ID

Data type
string
Number Type
Not set
Required
true
Permitted Values
UUID

User Agent

Data type
string
Number Type
Not set

CMCD

Buffer Length (CMCD)

Data type
number
Number Type
Int
Unit
milliseconds

Buffer Starvation (CMCD)

Data type
bool
Number Type
Not set
Permitted Values
value list

Content ID (CMCD)

Data type
string
Number Type
Not set

Deadline (CMCD)

Data type
number
Number Type
Int
Unit
milliseconds

Encoded Bitrate (CMCD)

Data type
number
Number Type
Int
Unit
kbps

Measured throughput (CMCD)

Data type
number
Number Type
Int
Unit
kbps

Next Object Request (CMCD)

Data type
string
Number Type
Not set

Next Range Request (CMCD)

Data type
string
Number Type
Not set

Object Duration (CMCD)

Data type
number
Number Type
Int
Unit
milliseconds

Object Type (CMCD)

Data type
string
Number Type
Not set
Permitted Values
value list

Playback Rate (CMCD)

Data type
number
Number Type
Short

Request ID (CMCD)

Data type
string
Number Type
Not set

Requested Maximum Throughput (CMCD)

Data type
number
Number Type
Int
Unit
kbps

Session ID (CMCD)

Data type
string
Number Type
Not set

Startup (CMCD)

Data type
bool
Number Type
Not set
Permitted Values
value list

Stream Type (CMCD)

Data type
string
Number Type
Not set
Permitted Values
value list

Streaming Format (CMCD)

Data type
string
Number Type
Not set
Permitted Values
value list

Sub-Request ID (CMCD)

Data type
string
Number Type
Not set

Top Bitrate (CMCD)

Data type
number
Number Type
Int
Unit
kbps

Version (CMCD)

Data type
number
Number Type
Short

CDN

Cache Hit

Data type
bool
Number Type
Not set
Permitted Values
value list

Cache Result

Data type
string
Number Type
Not set

CDN

Data type
string
Number Type
Not set

Content Type

Data type
string
Number Type
Not set

Host

Data type
string
Number Type
Not set

HTTP Status

Data type
string
Number Type
Not set

Location

City

Data type
string
Number Type
Not set
Notes
When aggregated with other player sessions, this can provide a definitive number of viewers within a city. This can be helpful when targeting local advertising.

Country Code

Data type
string
Number Type
Not set
Notes
This value is ideal to utilize when enforcing content rights: any player identified within a specific country can be blocked from accessing the content. Note that proxy servers can be used by viewers to make their request appear to be originating from an approved country. Matching the countryCode received during a request to the country specified in the subscriber's profile information can help mitigate proxy use.
Permitted Values
2 letter code

Region

Data type
string
Number Type
Not set
Notes
This is the full form of the regionCode (i.e., Florida instead of FL). As a result, this value is often used for display purposes, rather than programmatically. If the fullname of a country region is needed, pulling this field is more efficient than employing memory or CPU to programmatically match the regionCode to a region name.

Message

Configuration ID

Data type
string
Number Type
Not set
Notes
Allows customers to differentiate data on the Connector from different Collectors (e.g., could be useful for separating test content from production data).
Required
true
Permitted Values
UUID

Event ID

Data type
string
Number Type
Not set
Required
true

Custom Data

Custom Metadata

Number Type
Not set

Page

Referrer

Data type
string
Number Type
Not set
Permitted Values
URL

Events

Timestamp

Data type
number
Number Type
Not set
Unit
milliseconds
Notes
In cases where two or more events have the same timestamp, please use the event count to determine the sequence in which the events occurred.
Required
true

FluxData

Bytes Served

Device Platforms
Server API

Time To First Byte

Device Platforms
Server API

Time To Last Byte

Device Platforms
Server API

SET UP

Follow the directions provided by Akamai to setup and configure DataStream 2 for your property.

Datazoom will map a subset of the available data points in DataStream 2 to our equivalent CDN Data Dictionary key names.

When configuring the data set parameters, select JSON as the log format


Image below from Akamai DataStream setup

Use the following settings when selecting a destination for your logs:

  • Destination: Custom HTTPS

  • Display Name: Descriptive Name

  • Endpoint URL: https://streaming.datazoom.io/cdn/v1/logs/API_KEY_HERE

  • Authentication: NONE


Image below from Akamai DataStream setup

Continue to follow the steps outlined in the Akamai documentation to add your DataStream 2 configuration to your property. Once complete, you will need to add this new Collector to a Data Pipe. If you’re new to this, please review How to configure a Data Pipe.