Task · GRE-0003

Check whether Loki drops repeated identical lines within one object at ingestion time

Description

generic-s3 stamps every line of an object with one time.time_ns() value when TIMESTAMP_FIELD is unset. Loki drops an entry whose timestamp and line match one it already holds. If that ingest-time check ignores structured metadata, two identical lines in one file (a repeated heartbeat, a duplicated CSV row) collapse to one and data is silently lost. The record number in structured metadata may or may not save them: upstream says read-path dedup compares structured metadata, the ingest path is unconfirmed. adobe-aem is exposed only on lines that carry no timestamp or are restamped by MAX_TIMESTAMP_AGE_SECONDS. Found while correcting the at-least-once docs.

Acceptance Criteria

Definition of Done

View the source file on GitHub