Log Sample — Cloudflare Ray Sample
Tiny SAMPLE log excerpt (cloudflare-ray-sample) for parser and alert-rule tests.
ray_id=7a1b2c3d4e5f6789 status=502 colo=EWR path=/api/SAMPLE host=api.sample.example
Specifications
- Wave
- I
- Role
- log-snippet
Testing contract
Expected to pass- Scenario
- Exercise Log Sample — Cloudflare Ray Sample in its logs workflow. Tiny SAMPLE log excerpt (cloudflare-ray-sample) for parser and alert-rule tests.
- Expected result
- 1 text lines, decoded as UTF-8; first nonempty line is 'ray_id=7a1b2c3d4e5f6789 status=502 colo=EWR path=/api/SAMPLE host=api.sample.example'. Declared feature checks: role=log-snippet.
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
“Log Sample — Cloudflare Ray Sample” is a deterministic Novus Examples fixture for Log parsing, Error handling. Access logs and JSON-lines application logs, for testing log parsers, tailers, and ingestion pipelines.
Documented properties for this file: log-snippet. 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 cloudflare-ray-sample.log | head
awk '{print $1, $2, $NF}' cloudflare-ray-sample.log | headRelated files
- logJava Stack Trace (log)A realistic Java stack trace — a Spring-style NullPointerException with a nested 'Caused by' chain and '... N more' elision. A fixture for testing stack-trace parsers, error groupers, and log viewers.

- logNode.js Stack Trace (log)A realistic Node.js/Express stack trace — a TypeError with V8-style 'at function (file:line:col)' frames including an async frame and internal node: frames. A fixture for testing JS stack-trace parsers.

- logPython Traceback (log)A realistic Python traceback with a chained exception ('During handling of the above exception...') and a caret error indicator. A fixture for testing traceback parsers and error-reporting tools.

- log.NET Exception with an Inner Exception Chain (log)A .NET exception whose inner exception is introduced by the ---> marker and closed by End of inner exception stack trace, wrapped in pipe-delimited log lines. Error groupers that key on the outermost message alone merge two genuinely different faults here.

- xmlCucumber JUnit XML — Checkout RunThe same six pickles reported as JUnit XML, which is what a BDD suite hands to a generic CI dashboard. One <testcase> per pickle means the three expanded outline rows appear as three tests with identical names — enough to break any store keyed on name alone.

- xmlFlaky Run — Network Dependency, Build #301 (errored)Build #301 of five consecutive runs of checkout.PaymentTest, in which capturesAuthorisedPayment is errored while the other five cases pass every time. The underlying cause is a real call to the fictional payments host instead of the stub. Read the whole family in build order to reproduce what a flake detector sees.

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