Evidence for a duplicate
Look for one normalized message across streams within the retry window.
Instrument 04 Find duplicate logs across streams
For Loki operators checking whether duplicate ingestion inflates alerts and storage.
Bench test · browser edition
Paste JSON lines, a Loki response, or plain lines. The browser reads up to 5 MB.
Redact sensitive values before sharing the exported report.
Open the sample analysis or choose a log export.
A match is a lead, not a verdict.
How to assess a suspected duplicate
Look for one normalized message across streams within the retry window.
Health checks and expected fan-out can look alike. Review the stream labels.
Check retry intervals, sharding labels, and producer request IDs before changing a pipeline.
Single binary
Run the bundled sample before pointing the tool at a log export.
cargo install --git https://github.com/B-Divyesh/sf-log-duplicate-lens
log-duplicate-lens demo
Demo: uses the bundled seven-record sample and writes a temporary report.
JSON: use --json for a machine-readable report.
Limits: set --max-events, --max-groups, and --max-input-mb.
$ log-duplicate-lens demo
Bundled sample: 7 labeled log records
Result: 2 suspected duplicate groups / 3 duplicate copies
Demo report: /tmp/log-duplicate-lens-demo-….json