BunnyCDN 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 | character and with the following format:
Cache Status (String, Possible values: HIT/MISS)
The cache status of the request. If HIT, the request was served locally from the edge node cache.
Status Code (Integer)
The HTTP status code that was returned by the server.
Request Timestamp (Big Integer)
The UTC UNIX timestamp of when the request was completed.
Bytes Sent (Integer)
The number of bytes that were sent to the client.
Pull Zone ID (Big Integer)
The ID of the pull zone that served the request.
Remote IP (String)
The IP of the remote client that received the request.
Referer Url (String)
The referer URL that was sent from the client when the file was requested.
The URL of the file that was served.
Edge Location Code (String)
The acronym code indicating which of our pops served your file.
User Agent (String)
The User-Agent header sent by the client requesting the URL.
Unique Request ID (String)
The unique ID that identified the specific request. Useful to prevent duplicate request processing.
Country Code (String)
The country code where the request came from.