Subscribe to the Non-Human & AI Identity Journal

Schema-on-read

Schema-on-read means data is stored first and structured later, at query time. For security teams, that allows many log formats to land in one place without upfront modelling, but it also means ingestion validation must catch format drift before detections and investigations start failing.

Expanded Definition

Schema-on-read is a data handling approach where information is retained in a relatively raw state and structured only when a query, analytics job, or investigation needs it. In security operations, this is useful when telemetry arrives from many sources with different field names, nesting patterns, or export formats, because teams can centralise data without forcing every producer into the same model first. The tradeoff is that the data platform must tolerate variation while still enforcing enough validation to keep records usable for detections, threat hunting, and audit work.

The concept is often contrasted with schema-on-write, where the structure is fixed before storage. Schema-on-read is not a license to skip data governance. Good implementations still define data contracts, normalize critical fields, and monitor for drift in event shape, timestamp formats, and identifier consistency. That discipline aligns well with the operational intent of the NIST Cybersecurity Framework 2.0, which emphasizes visibility, detection, and resilient data handling across the security lifecycle. The most common misapplication is treating schema-on-read as “no schema,” which occurs when teams allow unpredictable field changes to reach analytics without validation or alerting.

Examples and Use Cases

Implementing schema-on-read rigorously often introduces downstream complexity in query design and data quality monitoring, requiring organisations to weigh flexibility at ingestion against consistency at analysis time.

  • Security logs from cloud services, endpoint tools, and SaaS platforms are stored together first, then parsed into usable fields only when a hunt or alert rule runs.
  • A security data lake ingests JSON, CSV, and XML feeds without forcing every source into a single rigid model, while transformation logic maps common fields such as user, host, and source IP at read time.
  • Analysts build detection logic that adapts to vendor-specific event structures, but maintain validation checks so malformed payloads do not silently break parsing or correlation.
  • Incident response teams use flexible ingestion for rapidly changing evidence sources, then apply read-time mapping to preserve context across firewall logs, API activity, and identity telemetry.
  • Threat hunting pipelines reference NIST Cybersecurity Framework 2.0 style asset and event visibility goals while allowing new log sources to arrive before the data model is finalized.

Why It Matters for Security Teams

Schema-on-read matters because modern security programs depend on rapid telemetry onboarding, but analysis only works when data remains trustworthy after ingestion. If the structure is too rigid, useful evidence may be rejected or delayed. If the structure is too loose, detections can become brittle, investigations can miss key fields, and reporting can drift out of alignment with reality. The governance problem is not storage alone, but preserving enough semantic consistency for search, correlation, and response.

This term is especially relevant in log pipelines that support SIEM, SOAR, and threat-hunting workflows, where identity data, endpoint events, and cloud control-plane records often arrive with inconsistent labels. For teams working across NHI and agentic AI environments, the same issue appears in tool-use telemetry and service-to-service audit trails, where a schema change can hide privilege abuse or automation faults. Security leaders should treat schema drift as an operational risk, not just a data engineering nuisance. Organisations typically encounter broken detections and incomplete investigations only after an event reveals that the data was accepted, but no longer readable in the way defenders expected.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 DE.CM-1 Schema-on-read supports continuous monitoring by making diverse telemetry available for analysis.
NIST SP 800-53 Rev 5 AU-6 Audit review and analysis require logs that remain interpretable after ingestion.

Use flexible ingestion, then verify that monitoring data remains analyzable and complete.