Reporting metrics and dimensions

Use the Reporting metrics and dimensions available in DataStream 2 to get reports for your property including traffic and media delivery data.

You can choose the Reporting metrics mapped to existing data sets supported in DataStream 2, and dedicated data set fields such as Content protection information to log these metrics in your stream.

Reporting field mapping

You can log metrics you may know from Reporting using data set fields already supported by DataStream 2 in your stream:

Each time you select a Reporting field, you automatically check corresponding data sets from other groups on the list. Several reporting metrics and data set fields may be available only for selected products assigned to your property.

To log these fields, Create a stream or Edit a stream in the DataStream application, and open the Reporting metrics and dimensions tab on the Data sets list.

For detailed steps to add or remove data set fields when creating or editing a stream, see Choose data parameters. For the complete list of data set fields available in DataStream 2, see Data set parameters.

Content protection information

You can also choose the Content protection information data set field to log metrics for media delivery and traffic reports, or use report-specific fields for Media delivery and Traffic report. See Choose data parameters for steps.

The field may show multiple entries in the log line (such as epd@geoguard and epd@feature-override), when Enhanced Proxy Detector redirects or denies a request, and the EPD action metadata contains an override.

Media delivery reports for the Content protection information field are available only when it returns the epd@geoguard component:

📘

To log any fields in the Content protection data set, you need to enable the Enhanced Proxy Detection with GeoGuard behavior on your property first.

DataStream 2 fieldReporting metric or dimensionSample CPI field valueIndex numberDescription
Content protection informationMatch type=//epd@geoguard/v1/dp/22This flag identifies Enhanced Proxy Detection (EPD) as the property configuration match triggering the action.
Match category=//epd@geoguard/v1/dp/24Indicates the EPD category for a proxy request:

av for anonymous VPN
pp for public proxy
hp for hosting provider hit
tn for TOR exit node
dp for smart DNS proxy
vc for VPN data center
Action=//epd@geoguard/v1/dp/24Indicates the EPD action on the proxy request:

0 for request denied
1 for request allowed (EPD behavior override)
2 for request redirected

You can use this field to log the following metrics for Media delivery and Traffic reports:

DataStream 2 fieldReporting metric or dimensionSample CPI field valueIndex numberDescription
Content protection informationEdge proxy hits0
1
-Logged as 1 with epd@geoguard present, otherwise 0.
​Akamai​ override=//epd@feature-override/v1/or//epd@geoguard/v1/dp/22The request was allowed with an EPD behavior override.
Applied matches=//epd@geoguard/v1/dp/22Identifies Enhanced Proxy Detection (EPD) as the property configuration match triggering the action.
Actions taken=//epd@geoguard/v1/dp/25Indicates the EPD action on the proxy request:

0 for request denied
1 for request allowed (EPD behavior override)
2 for request redirected
VPN hits=//epd@geoguard/v1/av/14The total number of proxy requests to edge servers identified by GeoGuard as VPN data center hits.
Proxy hits=//epd@geoguard/v1/pp/14The total number of public proxy requests to edge servers identified by GeoGuard.
Hosting provider hits=//epd@geoguard/v1/hp/14The total number of proxy requests to edge servers identified by GeoGuard as hosting provider hits.
TOR exit hits=//epd@geoguard/v1/tn/14The total number of proxy requests to edge servers identified by GeoGuard as TOR exit node hits.
Smart DNS hits=//epd@geoguard/v1/dp/14The total number of requests to edge servers identified by GeoGuard as Smart DNS proxy hits.
VPN datacenter hits=//epd@geoguard/v1/vc/14The total number of proxy requests to edge servers identified by GeoGuard as VPN data center hits.
Blocked hits=//epd@geoguard/v1/av/05The number or known proxy requests blocked by Enhanced Proxy Detection.
Redirected hits=//epd@geoguard/v1/av/25The number or known proxy requests redirected by Enhanced Proxy Detection.

Media delivery reports

Choose from the following existing data set fields to get metrics and reports on media delivery. See the complete list of Data set parameters available in DataStream 2 for details and possible requirements.

Media delivery reports for the Content protection information field are available only when it returns the epd@geoguard component:

Some fields cover several reporting metrics, for example, you can derive the request's Browser, Device, OS and User agent using only the User-Agent data set field.

DataStream 2 fieldReporting metric or dimensionSample log valueDescription
AsnumASN64496The Autonomous System Number (ASN) of the request's Internet service provider.
CityCityBangaloreThe city where the request originated.
Client IPIP198.18.77.18The IP address of the client that made the request to the edge server.
Country/RegionCountryUSThe country where the request originated.
Country codeUSThe ISO 3166 code of the country where the request originated.
CP codeCP code12097150The unique provisioning code that identifies the customer on whose behalf the content was served.
Delivery formatDelivery FormatHDS
HLS
DASH
Reports the logged data's media delivery format, such as HDS and HLS fragmentation, HDS and HLS stream packaging, Dynamic Adaptive Streaming over HTTP (DASH), Microsoft Smooth streaming etc., including the default format.
Delivery typeDelivery Typelive
default
Limits logged data to a specific media delivery type, such as live, VOD (video on demand), or default.
Download completedDownload Completed1The number of complete succesful downloads in a specific time interval.
Download initiatedDownload Initiated1The number of successful download initiations in a specific time interval.
Download timeDownload Time12001The time taken to download the object in milliseconds.
Edge attemptsEdge attempts1The number of content download attempts by the end-user during a specific time interval (HTTP code 2XX), based on the total manifest requests received.
Startup errors Request pathEdge Manifest Failures2Manifest requests that resulted in errors with 4XX and 5XX response codes.

If the STARTUP_ERROR is 1, and the request path contains any of the following file extensions: .m3u8, m3u, m3ub, f4m, f4x, mpd, ismc, the request is an edge manifest failure.
Download initiated
Request path
Edge Plays1 If DOWNLOAD_INITIATED is 1 in the log line, the response HTTP code is2XX, and the request path contains any of the following file extensions: .m3u8, m3u, m3ub, f4m, f4x, mpd, ismc, the request is an edge play.

Edge plays are computed only for manifest files.
HTTP status codeOther hits0
200
206
404
HTTP transactions with HTTP status codes of 0 are considered other hits.
File size bucketFile size bucket1KB-10KB
10KB-100KB
100KB-1MB
1MB-10MB
10MB-100MB
100MB-1GB
This field groups the response content into buckets by size in kilobytes, megabytes and gigabytes.
Media EncryptionMedia Encryption0
1
Returns 1 if media encryption is enabled for the content delivered from the edge to the client.
Status code
Download initiated
Startup errors
Mid-Stream Errors3Total errors, excluding start-up errors, that occurred during stream play.

If STATUS_CODE is an error (4XX or 5XX), and the log line returns 0 for DOWNLOAD_INITIATED and STARTUP_ERROR, the request is a mid-stream error.
Prefetch Midgress HitsPrefetch Midgress Hits1Returns 1 if an edge server prefetched the content from a parent edge server other than the origin.
StateCanadian provinceAlbertaThe Canadian province where the request originated.
Client stateNew%20HampshireThe state where the request originated.
ProvinceNew%20HampshireThe province where the request originated.
StateNew%20HampshireThe state where the request originated.
Startup ErrorsStartup Errors3The number of download initiation failures in a specific time interval.
Stream IDStream ID/URL120001The DataStream unique stream ID.
ThroughputThroughput200000The byte transfer rate for the selected time interval in kilobits per second.
User-AgentBrowserMozilla%2F5.0+%28Macintosh %3B+Intel+Mac+OS+X+10_14_3%29The name and details of the browser that made the request.
DeviceMozilla%2F5.0+%28Macintosh %3B+Intel+Mac+OS+X+10_14_3%29The full name of the device that made the request.
OSMozilla%2F5.0+%28Macintosh %3B+Intel+Mac+OS+X+10_14_3%29The operating system name and version of the user that made the request.
User agentMozilla%2F5.0+%28Macintosh %3B+Intel+Mac+OS+X+10_14_3%29The URI-encoded User-Agent header in the request. It lets edge servers identify the application, operating system, vendor, or version of the requesting user agent.

You can use User-Agent parsing libraries to get single values (Browser, Device, OS) from the User agent field.

Traffic reports

Select the following existing data set fields to get metrics and reports on traffic to your property. See the complete list of Data set parameters available in DataStream 2 for details and possible requirements.

Some fields cover several reporting metrics, for example, you can derive the request's Browser and OS using only the User-Agent data set field.

DataStream 2 fieldReporting metric or dimensionSample log valueDescription
CacheableCacheable1Returns 1 if the object is cacheable, based on response headers and metadata.
Client IPClient IP198.18.77.18The IP address of the request.
IP version198.18.77.18The IP version of the request’s IP address, such as IPv4, you can derive from the Client IP value.
Country/regionCountry/area (client geo)USThe ISO 3166 code of the country where the request originated.
CP codeCP code2097150The unique provisioning code that identifies the customer on whose behalf the content was served.
HTTP status codeResponse code0
200
206
404
The HTTP result code returned to the client in the response.
Protocol typeHTTP versionHTTP/1.1
HTTPS/1.1
HTTP/2
HTTP3
The HTTP protocol used to deliver the content.
Query stringURL stringq=foo&submit=trueThe query string of the URL of the resource that was requested.
Request timeTime1612215703.120The Unix epoch timestamp (in seconds) of a new accept() response or when the edge server started to read a new request.
Server country/regionCountry/area (server geo)GBThe ISO 3166 code of the country of the server that processed the request.
StateClient stateNew%20HampshireThe state where the request originated.
User-AgentBrowserMozilla%2F5.0+%28Macintosh %3B+Intel+Mac+OS+X+10_14_3%29The name and details of the browser that made the request.
OSMozilla%2F5.0+%28Macintosh %3B+Intel+Mac+OS+X+10_14_3%29The operating system name and version of the user that made the request.