CloudFront Standard Log Parser (Tab-Separated, .gz Supported)
Parses tab-separated CloudFront logs using the #Fields header and summarises caching, status codes and slow requests.
Use the tool
Why this tool exists
CloudFront writes gzipped logs to S3. Downloading, unpacking and loading them in a spreadsheet takes several steps. Here you can drop the .gz files directly.
The hit ratio counts Hit, RefreshHit and OriginShieldHit over all requests, including errors and redirects, and says so in the output.
How to use it
- Download log files from the S3 bucket.
- Drop the .gz files or paste the text.
- Optionally filter by status.
- Read hit ratio, status codes and top URLs.
Frequently asked questions
How is the hit ratio defined?
Hit plus RefreshHit plus OriginShieldHit divided by all requests. A different definition gives a different number.
Are real-time logs supported?
No. Only the standard log format with a #Fields line.
What if some lines do not match?
They are skipped and the result says how many. Lines before a #Fields line are skipped.
Is my log uploaded?
No. Parsing happens in your browser and nothing is sent. Logs can hold IP addresses and tokens, so the page does not write them into the address bar.