Skip to main content
Duplicate fields occur when multiple fields in a log record carry the same information. Common sources include: Duplicate fields require either repeated field names or clear semantic equivalents such as level and severity. Fields with matching values but different meanings are not duplicates.

Signals

  • Repeated values across timestamp, severity, host, service, or environment fields.
  • Field pairs with equivalent names from different parts of the telemetry pipeline.
  • Redundant fields added by SDKs, agents, collectors, or exporters.
  • A canonical field that can preserve the value after the duplicate field is removed.

Example

The following log has three duplicate pairs that carry the same values under different names: time and @timestamp, level and severity_text, host and hostname.
Tero generates a scoped policy:

Enforce at edge

Drop duplicate fields before data leaves your network.
Use edge enforcement when duplicate fields come from agents, collectors, SDKs, or exporters rather than application code.

Detection notes

  • Tero compares field values across logs.
  • Tero flags exact string matches when the fields represent the same concept.
  • It flags semantic equivalents when the values share a normalized meaning, such as a numeric severity and a text severity.
  • Fields with similar values but different meanings are not duplicates. For example, request_id and trace_id are related identifiers, not duplicate fields.
  • Fields with different representations are not duplicates unless they normalize to the same value. For example, UTC and local timestamps are different representations.
Tero keeps the more standard field, such as @timestamp or severity_text, and removes the duplicate.