Sample Log Files — Download Nginx/Apache Access Log Test Files (100 KB, 1 MB)
Web-server access log (nginx/Apache combined format) · .log · MIME type text/plain
Download a sample log file in the combined access-log format nginx and Apache write by default: client IP, timestamp, request line, status code, bytes, referrer and user agent, one request per line, with a realistic mix of 200s, 301s, 304s, 404s and 500s and a mix of browsers, curl and Googlebot.
Log parsers, SIEM ingestion, log-viewer UIs and 'upload your logs' analytics tools all need fixtures like this. Line counts are listed so you can verify nothing was dropped.
Download sample LOG files
| File | Details | Size | Download |
|---|---|---|---|
sample-access-100kb.log | — | 100 KB | |
sample-access-1mb.log | — | 1.0 MB |
Need one of every data format? Download the data sample pack (202 KB, one small file of every data format (17 files)).
Use these files from the command line or CI
Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.
# Download one file curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/data/log/sample-access-100kb.log # Verify it (SHA-256 is listed for every file above) shasum -a 256 sample-access-100kb.log # Machine-readable index of every sample file curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="log")'
LOG format at a glance
| Full name | Web-server access log (nginx/Apache combined format) |
|---|---|
| Extensions | .log |
| MIME type | text/plain |
| Format | Combined Log Format (nginx default / Apache 'combined') |
| Fields | ip - - [time] "request" status bytes "referrer" "user-agent" |
| Encoding | UTF-8, LF line endings |
What people test with sample LOG files
- Log parsing and field extraction (grok, regex)
- SIEM and observability tool ingestion
- Log-viewer performance
Frequently asked questions
Are the IP addresses real?
They are randomly generated public-range addresses that do not correspond to real visitors — the whole file is synthetic. Treat it as fictional data.
Are these LOG files safe to download?
Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.
Can I use the sample LOG files commercially?
Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.
Can I hotlink these files or use them in CI?
Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).
Related sample files
Testing a file pipeline? We build them.
Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.
See how we can help