Skip to content
Novus Examples
log398 B

Nginx Access Log

An nginx combined-format access log with several requests, including a 403 and a 404 — for testing log parsers.

Preview — first 5 lineslog
127.0.0.1 - - [01/Jan/2026:09:00:01 +0000] "GET /index.html HTTP/1.1" 200 1024 "-" "Mozilla/5.0"
127.0.0.1 - - [01/Jan/2026:09:00:02 +0000] "GET /style.css HTTP/1.1" 200 512 "http://localhost/" "Mozilla/5.0"
203.0.113.7 - - [01/Jan/2026:09:00:03 +0000] "POST /api/submit HTTP/1.1" 403 89 "-" "curl/8.0"
203.0.113.7 - - [01/Jan/2026:09:00:04 +0000] "GET /missing HTTP/1.1" 404 153 "-" "Mozilla/5.0"

Specifications

Format
nginx combined
Records
4
Statuses
200, 403, 404
Encoding
UTF-8

What is a .log file?

LOG files are plain-text records of events emitted by software, typically one entry per line with a timestamp, severity, and message. There is no single standard, so formats range from unstructured text to structured JSON lines. They are central to debugging, monitoring, and auditing.

How to use this file

Use an example LOG file to test log parsers, timestamp and severity extraction, line-oriented streaming, and ingestion into monitoring or analysis pipelines.

How to use this file for testing

“Nginx Access Log” is a deterministic Novus Examples fixture for Log parsing. Access logs and JSON-lines application logs — for testing log parsers, tailers, and ingestion pipelines.

Documented properties for this file: 4 records · UTF-8 · nginx combined. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks — delimiters, encodings, null handling, schema, and row counts — in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

Code examples

grep -i error nginx-access.log | head
awk '{print $1, $2, $NF}' nginx-access.log | head

Generated by generation/data_formats.py. Free for any use, no attribution required — license.