Overview
To participate in streaming monitoring, deliver.media's managedstreaming. (Enterprise) offers the following format and service for monitoring partners. This article describes the log file structure that will be delivered via SFTP.
Log File Format
Each log file covers one calendar day and is structured like:
| Property | Requirement |
|---|---|
| File naming | YYYY-MM-DD.log.gz |
| Encoding | UTF-8 |
| Compression | gzip |
| Structure | Plain text, one completed stream session per line |
Fields within each line are separated by tabs.
Line Structure
Each line represents one completed listener session. Below is an example log entry:
2013-02-01 13:56:01 124.125.126.0 48f0d45be9a69cb6dbbcb75b919870596f63d522 /managedradio1 mp3 icecast2 player.deliver.media Mozilla/5.0(Test-UserAgent) 200 http 51669786 0
Field Reference
| Field | Example | Description |
|---|---|---|
| Stream Start | 2013-02-01 13:56:01 | Date and time in YYYY-MM-DD HH:MM:SS format, UTC timezone |
| IP Address (fixed) | 0.0.0.0 | IPv4 in decimal notation (fixed due to EU-GDPR) |
| IP Hash | 48f0d45b... | SHA1 hash of the full IP address with a fixed, offer-specific salt |
| Mount | /managedradio1 | Stream mount point with leading /. |
| Streaming Format | mp3 | Audio format (e.g. mp3, aac, ogg) |
| Streaming Server | icecast2 | Server type (e.g. icecast, ais) |
| Referrer | player.deliver.media | Referrer URL if available, otherwise empty |
| User Agent | Mozilla/5.0(...) | Player, browser, or OS identifier (UTF-8 encoded) |
| Status Code | 200 | HTTP status code |
| Play Duration | Not available currently | |
| Protocol | http | Transmission protocol for the audio stream |
| Bytes Transferred | 51669786 | Amount of data sent, in bytes |
| Monitoring Flag | 0 | 0 = regular listener (count this session) ยท 1 = non-listener, e.g. uptime monitoring (exclude) |
Comments
0 comments
Please sign in to leave a comment.