Content Distribution Network Interconnection (CDNI) Logging Interface
RFC 7937
Internet Engineering Task Force (IETF) F. Le Faucheur, Ed.
Request for Comments: 7937
Category: Standards Track G. Bertrand, Ed.
ISSN: 2070-1721
I. Oprescu, Ed.
R. Peterkofsky
Google Inc.
August 2016
Content Distribution Network Interconnection (CDNI) Logging Interface
Abstract
This memo specifies the Logging interface between a downstream
Content Distribution Network (dCDN) and an upstream CDN (uCDN) that
are interconnected as per the CDN Interconnection (CDNI) framework.
First, it describes a reference model for CDNI logging. Then, it
specifies the CDNI Logging File format and the actual protocol for
exchange of CDNI Logging Files.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 7841.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc7937.
Le Faucheur, et al. Standards Track [Page 1]
RFC 7937 CDNI Logging August 2016
Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4
1.2. Requirements Language . . . . . . . . . . . . . . . . . . 5
2. CDNI Logging Reference Model . . . . . . . . . . . . . . . . 5
2.1. CDNI Logging Interactions . . . . . . . . . . . . . . . . 5
2.2. Overall Logging Chain . . . . . . . . . . . . . . . . . . 9
2.2.1. Logging Generation and During-Generation Aggregation 10
2.2.2. Logging Collection . . . . . . . . . . . . . . . . . 11
2.2.3. Logging Filtering . . . . . . . . . . . . . . . . . . 11
2.2.4. Logging Rectification and Post-Generation Aggregation 12
2.2.5. Log-Consuming Applications . . . . . . . . . . . . . 13
2.2.5.1. Maintenance and Debugging . . . . . . . . . . . . 13
2.2.5.2. Accounting . . . . . . . . . . . . . . . . . . . 14
2.2.5.3. Analytics and Reporting . . . . . . . . . . . . . 14
2.2.5.4. Content Protection . . . . . . . . . . . . . . . 14
2.2.5.5. Notions Common to Multiple Log-Consuming
Applications . . . . . . . . . . . . . . . . . . 15
3. CDNI Logging File . . . . . . . . . . . . . . . . . . . . . . 17
3.1. Rules . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.2. CDNI Logging File Structure . . . . . . . . . . . . . . . 18
3.3. CDNI Logging Directives . . . . . . . . . . . . . . . . . 21
3.4. CDNI Logging Records . . . . . . . . . . . . . . . . . . 26
3.4.1. HTTP Request Logging Record . . . . . . . . . . . . . 27
3.5. CDNI Logging File Extension . . . . . . . . . . . . . . . 38
3.6. CDNI Logging File Examples . . . . . . . . . . . . . . . 38
3.7. Cascaded CDNI Logging Files Example . . . . . . . . . . . 42
Le Faucheur, et al. Standards Track [Page 2]
RFC 7937 CDNI Logging August 2016
4. Protocol for Exchange of CDNI Logging File after Full
Collection . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.1. CDNI Logging Feed . . . . . . . . . . . . . . . . . . . . 45
4.1.1. Atom Formatting . . . . . . . . . . . . . . . . . . . 45
4.1.2. Updates to Log Files and the Feed . . . . . . . . . . 46
4.1.3. Redundant Feeds . . . . . . . . . . . . . . . . . . . 47
4.1.4. Example CDNI Logging Feed . . . . . . . . . . . . . . 47
4.2. CDNI Logging File Pull . . . . . . . . . . . . . . . . . 49
Show full document text