JSON-Lines Application Log
A structured application log with one JSON object per line at info/debug/warn/error levels — for testing log ingestion.
{"ts":"2026-01-01T09:00:01Z","level":"info","msg":"server started","port":8080}
{"ts":"2026-01-01T09:00:02Z","level":"debug","msg":"request","method":"GET","path":"/"}
{"ts":"2026-01-01T09:00:03Z","level":"warn","msg":"rate limit near","ip":"203.0.113.7"}
{"ts":"2026-01-01T09:00:04Z","level":"error","msg":"not found","path":"/missing","status":404}
Specifications
What is a .jsonl file?
JSONL (JSON Lines) is a text format where each line is a complete, independent JSON value, allowing records to be streamed and appended without parsing the whole file. It is not itself a JSON array and each line must stand alone. It is common in logging, machine learning datasets, and data pipelines.
How to use this file
Use an example JSONL to test line-by-line streaming parsers, append-and-resume ingestion, and batch pipelines that process one record per line.
Related files
- logNginx Access LogAn nginx combined-format access log with several requests, including a 403 and a 404 — for testing log parsers.
- csv10,000-Row CSVA CSV with 10,000 data rows — for testing streaming parsers, memory handling, and import performance.
- jsonAPI Error — 404 (RFC 9457 problem+json)A 404 error body in RFC 9457 (problem+json) form, with type, title, status, detail, and instance — for testing structured error handling and problem-detail parsers.
- jsonAPI Error — 422 Validation (JSON)A 422 validation-error response with a machine-readable list of field errors — for testing form-validation surfacing and error mapping.
- jsonAPI Response — Users Page 1 (JSON)Page 1 of a paginated JSON API response (users), with page metadata and a `hasMore` flag. Paired with page 2 for testing pagination and infinite-scroll logic.
- jsonAPI Response — Users Page 2 (JSON)Page 2 (the final page) of a paginated JSON API response. Paired with page 1 for testing pagination, `hasMore` handling, and list merging.
Generated by generation/data_formats.py. Free for any use, no attribution required — license.