5 MB LOG sample
A LOG file of exactly 5,242,880 bytes. It is a valid Log file file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 5 MB sample, test or dummy LOG file.
Download
sample-log-5mb.log
5 MB5,242,880 bytes
Download 5 MB LOGCreated in your browser in a few seconds, then checked against the SHA-256 checksum. No sign-up.
- Type
- text/plain
- SHA-256
a9f6c9e280e827ee0f157853f788c1fb780c8908cd731d6434cb272c6a17677b- Delivery
- Created in your browser from static generator assets (how it works).
What is in this file
30,731 web-server access log lines in Combined Log Format with increasing timestamps. One final request line carries a lengthened query string so the file reaches the exact size.
| Lines | 30,732 |
|---|---|
| Format | Combined Log Format (Apache and nginx access logs) |
| IP addresses | Documentation ranges from RFC 5737 |
| Encoding | UTF-8 (ASCII characters only) |
| Line endings | LF |
How the file begins
The opening lines of sample-log-5mb.log, exactly as they appear in the file.
198.51.100.3 - - [01/Jan/2026:00:00:00 +0000] "GET /assets/app.js HTTP/1.1" 204 25352 "https://example.com/" "ExampleMonitor/1.0"
192.0.2.79 - - [01/Jan/2026:00:00:02 +0000] "GET /api/v1/users?page=2 HTTP/1.1" 200 47202 "https://example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS…
192.0.2.201 - - [01/Jan/2026:00:00:04 +0000] "GET /search?q=sample+pdf HTTP/1.1" 200 17787 "https://example.com/" "Mozilla/5.0 (X11; Linux x86_64; rv:…
198.51.100.48 - - [01/Jan/2026:00:00:06 +0000] "GET / HTTP/1.1" 200 30256 "https://example.com/" "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/2010…
192.0.2.21 - - [01/Jan/2026:00:00:07 +0000] "GET /assets/app.css HTTP/1.1" 200 5246 "https://example.com/" "ExampleMonitor/1.0"
192.0.2.96 - - [01/Jan/2026:00:00:09 +0000] "GET /docs/getting-started HTTP/1.1" 500 39852 "https://example.com/" "python-requests/2.32.3"Preview
Creates the file in your browser and shows its first 64 KB.
Where 5 MB matters
A 5,242,880-byte file: the size of a phone photo and the minimum part size for S3 multipart uploads. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| PHP | 2 MB per uploaded file by default (upload_max_filesize) | A 5 MB upload fails on an untuned PHP installation. |
| Vercel Functions | 4.5 MB request body | Larger uploads must go directly to object storage. |
| Amazon S3 multipart upload | 5 MiB minimum part size | This file is exactly one minimum part. |
| AWS Lambda | 6 MB synchronous invocation payload | 5 MB of binary data exceeds it once base64-encoded. |
| Browser localStorage | About 5 MB per origin | Storing this file as text fills the quota. |
| Django | 2.5 MB in memory by default | Larger uploads are streamed to a temporary file instead of held in memory. |
Use this file for
- Testing image resizing and memory use
- Checking dashboards and alert rules
- Benchmarking ingestion pipelines
Testing notes for LOG
- Request paths and user agents come from clients and may contain quotes or escape sequences; a pattern that assumes clean input will misparse real traffic.
- Timestamps carry a zone offset. Parsers that drop it shift every event.
Technical details
| File name | sample-log-5mb.log |
|---|---|
| Format | LOG (Log file) |
| Extension | .log |
| MIME type | text/plain |
| Size | 5,242,880 bytes (5 MB) |
| Kind | Text |
| SHA-256 | a9f6c9e280e827ee0f157853f788c1fb780c8908cd731d6434cb272c6a17677b |
| Created | 2026-10-14 |
| Validation | See the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility. |
| Preview | Available on this page |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Testing |
Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Verify your copy
This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.
sha256sum sample-log-5mb.log # Linux
shasum -a 256 sample-log-5mb.log # macOSOn Windows, run Get-FileHash sample-log-5mb.log -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.
Related files
Questions about this file
- Is this file exactly 5 MB?
- Yes. It is 5,242,880 bytes, which is 5 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 5 MB LOG file?
- 30,731 web-server access log lines in Combined Log Format with increasing timestamps. One final request line carries a lengthened query string so the file reaches the exact size.
- Are the IP addresses real?
- No. They come from the address ranges that RFC 5737 reserves for documentation, so they belong to no one.