Sample Log Files for Testing
Pre-generated log files with realistic Apache access log and syslog-style entries. Ideal for testing log parsers, dashboards, SIEM ingestion pipelines, and analytics tooling.
Most popular
Download 10 MB Log File10 MB10 MB Sample Log File
~350,000 lines · Apache access log format · UTF-8
TestFile-txt-10mb.txt
Log file format
Each log file contains a mix of Apache Combined Log Format entries and ISO-8601 timestamped application log lines with severity levels (INFO, WARN, ERROR, DEBUG). IP addresses, user agents, paths, and status codes are randomized using realistic distributions.
192.168.1.105 - frank [10/May/2025:14:32:05 +0000] "GET /api/users HTTP/1.1" 200 1327 192.168.1.107 - - [10/May/2025:14:32:06 +0000] "POST /auth/login HTTP/1.1" 401 512 10.0.0.1 - admin [10/May/2025:14:32:07 +0000] "DELETE /records/8471 HTTP/1.1" 204 0 2025-05-10T14:32:08.412Z [ERROR] app.service: Connection timeout — retrying (attempt 2/3) 2025-05-10T14:32:09.015Z [INFO] worker-3: Job completed in 243ms
All TXT / log file sizes
Generate a custom log file
Configure line count, encoding, and line endings.
Generate via API
# Generate a log file via API
curl -X POST https://gettestfiles-api.fly.dev/generate/txt \
-H "Content-Type: application/json" \
-d '{"lines": 50000, "variant": "log", "encoding": "utf-8"}' \
--output server.log
# Download the pre-built 10 MB log file
curl -L "http://localhost:8000/files/txt/TestFile-txt-10mb.txt" \
-o sample-log-10mb.txt