bunny.net CDN provides a simple log format that is easy to parse automatically. This page explains the format of the log file. Each request will be logged as a separate line in the file.
Example log line:
HIT|200|1507167062421|412|390|22.214.171.124|-|https://bunnycdn.b-cdn.net/assets/landingpage/images/cdn-video-preview-from-a-blue-moon.m4v|WA|Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36|322b688bd63fb63f2babe9de30a5d262|DE
Each field is separated by the | (pipe) character and with the following format:
|String, possible values are "HIT" or "MISS
|The cache status of the request. If HIT, the request was served locally from the edge node cache. If MISS, the file was not on the edge node that served the request and the files were requested from an upstream.
|The HTTP status code that was returned by the server. We have more details on the HTTP status codes that the CDN can return here
|The UTC UNIX timestamp of when the request was completed and the file was served to the user.
|The IP of the remote client that received the request. If you have any GDPR anonymisation enabled under the logging tab in the dashboard, then this will be applied to the IP you see here (if the IP ends in .0, it's probably been anonymised)
|The referer URL that was sent from the client when the file was requested. This is often used in parallel with our referral protection to ensure only authorised hostnames send requests to the CDN.
|The URL of the file that was served, including any query strings.
|Edge Location Code
|The acronym code indicating which of our pops served your file. Often can be mapped to a city code/country code.
|The User-Agent header sent by the client requesting the URL. Useful for identifying what sort of client/device sent the request.
|The unique ID that identified the specific request. Useful to prevent duplicate request processing and used for internal request handling inside the CDN.
|The country code where the request came from according to our GeoIP database.