Access logs

Warpcache can provide you with a managed log service on request. We aggregate the CDN logs and index them in a unified format.

Enabling access logs

Please send an email to support to enable access logs

Accessing the log UI

Go to the log dashboard

Aggregation delays

Depending on the CDN in your mix some loglines can be delayed due to server maintanance on the provider side. This can range from a couple of hours to days. We try to use log streaming as much as possible however this is not always an option so regular log delays range from 2 minutes to 3 hours

Unified format

Below is our unified log formatted as jsonlines:

{
  "request": {
    "referer": "https://www.example.com/embed/live/",
    "path": "/livefeed.mp4/1920_1080_60_111100001.ts",
    "query": "?v=1",
    "method": "GET",
    "scheme": "https",
    "user_agent": "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36"
  },
  "meta": {
    "original": "<ORIGINAL CDN LOG LINE HERE>",
    "wc_id": "example.cdn.warpcache.net",
    "collected": "2019-07-18T10:08:35.000Z",
    "cdn": "<CDN NAME HERE>"
  },
  "response": {
    "date": "2019-07-18T10:00:00.000Z",
    "bytes": 49876,
    "time_taken": 270,
    "status": 200,
    "hit": true
  },
  "client": {
    "country": "ES",
    "isp": "Telefonica De Espana",
    "city": "Madrid",
    "ip": "0.0.0.0",
    "location": {
      "lon": -3.684,
      "lat": 40.4172
    },
    "asn": 3352,
    "user_agent": {
      "os": {
        "name": "Windows 8.1"
      },
      "name": "Chrome",
      "device": {
        "name": "Other"
      }
    }
  }
}