The Lumen CDN Log Collector provides an easy way to stream your Lumen logs to Datazoom. Log data can be correlated with player data to provide insight into CDN performance as it relates to video playback performance.
You’ll need two things to get started.
Create a Lumen Collector
Contact Lumen Support to add the Datazoom streaming endpoint to your Lumen CDN configuration.
Create a Lumen Collector
Review How to add a CDN Collector to start the process.
Give your Collector a name, save it then re-open it. Click the “REVEAL API KEY” and copy your key. You’ll need it in the Lumen configuration steps below
Configuring the Lumen logging endpoint
Contact Lumen support and provide the following log configuration details:
Logformat (JSON_Newline or JSON_Array): | JSON_Array |
Protocol (HTTP or HTTPS): | HTTPS |
Host: | https://streaming.datazoom.io |
Path: | /cdn/v1/logs |
Header Name: | X-Api-Key |
Header Value: | API key from above |
In order to align CDN logs with player content requests, you will need to configure your video player to send the Datazoom session_id
as a query parameter with content requests.
Example:
videojs.Hls.xhr.beforeRequest = function(options) { var myparam = '?datazoom_id=' + (session_id); options.uri = options.uri + myparam; return options; }
Comments
0 comments
Article is closed for comments.