Skip to content
Novus Examples
jsonl888 B

Structured Log — Unicode, RTL, Emoji and Control Characters (jsonl)

Log messages in Latin, Japanese and Arabic scripts, an emoji flag and a zero-width-joiner family, NFC and NFD forms of the same accented letter, and escaped tab, newline and carriage return. Everything that makes a log line's byte length and its display width disagree.

Preview — first 8 linesjsonl
{"ts":"2026-03-17T09:14:32.850Z","level":"info","msg":"café — naïve façade","lang":"fr"}
{"ts":"2026-03-17T09:14:32.950Z","level":"info","msg":"注文が受け付けられました","lang":"ja"}
{"ts":"2026-03-17T09:14:33.050Z","level":"info","msg":"تم قبول الطلب","lang":"ar","note":"right-to-left script"}
{"ts":"2026-03-17T09:14:33.150Z","level":"info","msg":"order accepted ✅ 🛒 🇪🇺","lang":"emoji","note":"astral-plane characters and a flag sequence"}
{"ts":"2026-03-17T09:14:33.250Z","level":"warn","msg":"tab\there, newline\nthere, carriage\rreturn","note":"escaped control characters"}
{"ts":"2026-03-17T09:14:33.350Z","level":"warn","msg":"combining accents: é vs é","note":"NFD and NFC forms of the same grapheme"}
{"ts":"2026-03-17T09:14:33.450Z","level":"info","msg":"zero-width joiner: 👨‍👩‍👧","note":"one grapheme, five code points"}

Specifications

Lines
7
Scripts
Latin, Japanese, Arabic
Has Emoji ZWJ
true
Has Combining Marks
true
Escaped Control Characters
3
Encoding
UTF-8, unescaped

Testing contract

Expected to pass
Scenario
Ingest the records and render each message in a log viewer with truncation enabled.
Expected result
All seven parse as UTF-8, the ZWJ family is not split mid-grapheme by truncation, and the escaped control characters stay inside their record rather than starting a new line.

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.

How to use this file for testing

“Structured Log — Unicode, RTL, Emoji and Control Characters (jsonl)” is a deterministic Novus Examples fixture for Observability, Log parsing, Encoding detection. Structured and plain-text telemetry with known timestamps, levels, request identifiers, and error states for testing log ingestion, correlation, dashboards, and alert pipelines.

Documented properties for this file: UTF-8, unescaped. 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.

Telemetry fixtures use fixed trace IDs, span IDs, and timestamps so ingestion is reproducible run to run. Point your collector, parser, or query layer at the file and assert the documented span tree, metric families, or severity mix; service and host names are invented.

Code examples

import json

with open("app-unicode-messages.jsonl") as f:
    rows = [json.loads(line) for line in f]
print(len(rows), rows[0])

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