Join our Newsletter — 33% off our NHI Course
Home› FAQ› Foundations & NHI Taxonomy› What is the difference between schema-on-read and schema-on-write…
Foundations & NHI Taxonomy

What is the difference between schema-on-read and schema-on-write in SIEM?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated November 25, 2026 Domain: Foundations & NHI Taxonomy

Schema-on-write normalises and validates events before they are stored, so fields are fixed for indexing and search. Schema-on-read stores data first and interprets structure when the query runs, which gives more flexibility for new log formats but pushes parsing and field extraction into search time. In SIEM, the choice affects ingestion cost, search speed, and how reliably correlations work across sources.

How schema-on-write and schema-on-read differ in SIEM

Schema-on-write is a pipeline choice: events are parsed, normalised, and validated before they land in storage, so the SIEM can index predictable fields for fast search and correlation. Schema-on-read defers structure until query time, so raw or lightly structured data can be ingested first and interpreted later. In practice, that shifts work from ingestion to investigation.

In a SIEM, the trade-off is not just technical elegance. Schema-on-write usually improves consistency, dashboard stability, and correlation reliability, especially when teams depend on fixed fields across many sources. Schema-on-read is more forgiving when new log types appear, but search-time parsing can slow investigations and make detections more sensitive to field quality.

Neither model is universally better. A mature SIEM architecture often blends both: high-value sources are normalised early, while less predictable telemetry is retained in a more flexible form until the team knows which fields matter. SIEM Guide covers the practical effects of ingestion, search, correlation, and data tiers that drive that design choice.

What changes operationally when you choose one model over the other?

Schema-on-write tends to front-load engineering effort. You need parsing rules, field mappings, validation logic, and ongoing maintenance when source formats drift. The payoff is that queries are faster and correlation logic is more deterministic because the SIEM already knows what each field means.

Schema-on-read reduces up-front onboarding friction. It is useful when telemetry sources change often, when the field model is still evolving, or when you do not want to block ingestion while you wait for a complete parser. The cost is that each search may need extra extraction logic, which can slow analysts down and make repeatable detections harder to standardise.

In other words, schema-on-write optimises for operational consistency, while schema-on-read optimises for ingestion flexibility. If your SOC depends on repeatable detections and stable dashboards, the first model is usually easier to govern. If your environment is still expanding or noisy, the second model can preserve visibility without forcing premature normalisation. SIEM vs Log Management is useful background because many teams discover they are really choosing between a detection system and a broader telemetry store.

Why does the schema choice affect correlation quality?

Correlation logic works best when event fields are consistent. If user, host, action, source, and time data are indexed in a predictable way, the SIEM can join events across sources with less ambiguity. That is why schema-on-write is often preferred for detections that rely on exact field names, bounded values, and reliable type enforcement.

Schema-on-read can still support correlation, but the detection logic has to compensate for inconsistent or late-bound structure. That makes rule design more dependent on parser quality and query discipline. Where teams have many sources, inconsistent field extraction can become a hidden reason that apparently simple correlations fail or produce noisy results.

Source normalisation standards can reduce that risk, but they do not remove the underlying design choice. If the SIEM must support repeatable investigations at scale, the team should be explicit about which fields are canonical and which ones remain opportunistic or source-specific. Security Data Lake Guide is relevant here because schema drift and field mapping become more visible once telemetry is spread across lake-style storage and federated search.

Risk and Threat Considerations

Schema-on-read creates more exposure to parser drift, query inconsistency, and missed correlations when new source formats arrive faster than the search logic can be updated. Schema-on-write reduces that ambiguity, but it concentrates failure earlier in the pipeline, so a bad parser or mapping mistake can distort what gets indexed in the first place.

Failure mechanism: If telemetry is ingested with weak or inconsistent field extraction, detections may silently miss events, misclassify entities, or produce unreliable joins across sources. If telemetry is over-normalised too early, valuable detail can be flattened away before analysts know they need it.

Impact: The practical result is slower investigations, lower correlation confidence, and more manual triage. In a SIEM, that can mean the difference between a searchable history and a store of data that looks complete but cannot be used consistently for detection.

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, CIS Controls v8 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0DE.CM-01 — Monitoring for Unusual ActivitySIEM schema choice directly affects log monitoring and correlation fidelity.
PR.DS-01 — Data-at-Rest ProtectionSIEM storage design governs how telemetry is retained and queried after ingestion.
GV.PO-01 — Policy for Cybersecurity Risk ManagementSchema strategy needs defined policy for normalization, retention, and field governance.
Recommendation — Tune ingestion and parsing so monitored events remain consistently searchable. Protect stored telemetry while preserving the field structure needed for search. Define which log fields are canonical and how schema drift is handled.
CIS Controls v8CIS-8 — Audit Log ManagementSIEM schema design determines how reliably logs can be collected, parsed, and searched.
Recommendation — Standardize log collection and parsing so audit data is usable for investigations.
OWASP ASVSV16 — Security Logging and Error HandlingThe question is about how structured telemetry supports reliable security logging and analysis.
Recommendation — Ensure logging produces consistent fields that detection logic can consume.

Practitioner Guidance

What to prioritise: Decide which fields must be stable for detection and which sources need late-bound flexibility. Canonical fields should be normalised early; exploratory or fast-changing telemetry can remain more loosely structured until the team defines repeatable use cases.

What to verify: Test whether the same event produces the same indexed fields across ingestion paths, tenants, and source versions. If analysts have to rewrite queries for each log source, the schema strategy is already costing operational time.

Common mistake: Treating schema-on-read as a way to avoid data modelling altogether. It usually just moves the modelling burden into every search, dashboard, and detection rule.

Practitioner takeaway: Use schema-on-write where detection quality depends on consistency, and use schema-on-read where source variability is still higher than the value of early normalisation.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org