TL;DR: Scanner.dev says its V6 storage format makes compressed log data about 25% smaller and queries 1.5-3x faster end to end, while also cutting ingest compute by 25-30% and doubling compaction speed. The shift shows that log pipeline efficiency now depends on layout choices, not just better indexing.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Scanner.dev's blog post: V6 storage format reduces log storage size and accelerates log search by changing how data is laid out, compressed, and scanned.
Why it matters: For security operations teams, faster and denser log storage affects detection latency, query cost, and retention headroom in SIEM and security data lake workflows.
By the numbers:
- V6 storage format is about 25% smaller after compression.
- Queries on real log data run 1.5-3x faster end to end.
- Ingest compute comes down by about 25-30%.
Context
Log storage design is a security operations control because it shapes how quickly analysts can search, correlate, and retain telemetry under load. When semi-structured events are scanned at scale, the difference between row-oriented and column-oriented layouts changes both cost and response time.
Scanner.dev's V6 format is an engineering response to that governance problem: it tries to make log retrieval cheaper without forcing a migration of historical data. The starting position is typical for modern log pipelines, where compression, scan speed, and retention pressure all trade off against one another.
Key questions
Q: How do columnar log formats speed up security searches?
A: Columnar log formats speed up security searches by storing fields together rather than whole events row by row, so analysts can read only the columns they need for filters, aggregations and joins. That reduces disk I/O, improves compression and makes searches over time ranges, user IDs, IP addresses or event types much faster.
Q: How should teams reduce log storage cost without hurting investigations?
A: Teams should reduce log storage cost by using compression, tiered retention and query-friendly partitioning, while keeping enough structure for investigations and replay. High-cardinality fields should remain searchable, and hot data should stay in an index or columnar store so analysts can still pivot on users, hosts and timestamps without restoring raw archives.
Q: What makes zero-copy deserialization useful in log pipelines?
A: Zero-copy deserialization is useful in log pipelines because it lets software read structured data directly from the input buffer without first copying it into new objects. That lowers CPU use and memory pressure, which helps high-throughput ingestion, parsing and routing of events with fewer pauses and less latency.
Q: When should security teams prioritize compaction over ingest speed?
A: Prioritise compaction when storage cost, query latency, or index fragmentation is growing faster than new data ingestion demand. Compaction merges small segments into larger ones, reduces metadata overhead, and can improve search efficiency, but it consumes CPU, I/O, and memory, so backlog pressure and retention needs should drive scheduling.
Technical breakdown
Zero-copy deserialization and why it matters
Zero-copy deserialization means the stored bytes are already structured enough to inspect without first reconstructing every record into a separate in-memory object. That reduces CPU work during scans because non-matching data can be skipped instead of copied and parsed. In a log pipeline, this is especially useful when most queries only touch a fraction of the available records and fields. The real gain comes from reducing work per page scan, which compounds across high-volume telemetry and repeated searches. See the Security Data Lake Guide.
Practical implication: Design scan paths so matching logic can reject irrelevant records before materialising them.
Columnar storage for sparse log queries
Columnar storage groups values by field rather than by event, which makes it easier to evaluate filters and aggregations over only the columns a query actually uses. That is a better fit for log search than row storage, because analytical queries often examine a few fields across many events. It also helps compression, since repeated field names and values can be stored in a more regular pattern. For semi-structured logs, the advantage is not just faster reads but less bandwidth wasted on data that never affects the answer.
Practical implication: Use column-oriented layouts when most searches filter on a small subset of fields across large event sets.
Why log compression and compaction improve together
Compression and compaction are related but distinct stages. Compression shrinks bytes on disk, while compaction rewrites data into denser structures that are faster to query and cheaper to maintain. Scanner.dev's design shows that layout decisions can reduce both storage footprint and downstream compute, but only when the encoding is friendly to the compressor and the scan path. The key architectural point is that front-loaded encoding work can pay back through repeated compaction cycles and lower fetch costs over the data's lifetime. Read Capacity Management as a Security Control.
Practical implication: Treat storage format changes as lifecycle decisions, not one-time write optimisations.
NHI Mgmt Group analysis
Storage layout is a governance control for telemetry, not just an engineering detail. When detection depends on log search, the format underneath those logs determines whether the programme can actually use the data it collects. Better compression and faster scans extend retention headroom and lower the friction of routine investigation. For practitioners, the control question is whether their telemetry architecture preserves access at the speed their security workflows require.
Columnar scanning changes the economics of security operations. A log platform that can avoid reading irrelevant fields reduces both query cost and analyst latency, which matters when teams are correlating large cloud telemetry sets under time pressure. That does not replace detection engineering, but it does change the baseline for what “usable telemetry” means. Practitioners should treat layout efficiency as part of observability governance, not an afterthought.
Dense log formats sharpen the case for security data lakes. When a storage layer can keep more events online and query them faster, the operational boundary between search, retention, and archival becomes more manageable. That has implications for security data lake architecture, because storage tiering only works when the active tier stays queryable enough to support investigations. The practical conclusion is that telemetry architecture should be measured by analyst access, not just ingest success.
Query speed gains matter most where attackers create noisy, repetitive telemetry. Repeated log patterns are common in cloud and application environments, which means the cost of scanning can become a hidden constraint on visibility. The named concept here is telemetry scan efficiency: the degree to which storage layout, compression, and page structure reduce the work required to answer a query. For security teams, that efficiency directly affects detection latency and investigation depth.
Storage optimisation should be evaluated against the full telemetry lifecycle. Encoding that costs a little more at ingest can still be the right choice if compaction, index building, and repeated querying all become cheaper over time. That is the right lens for security data platforms: not whether one step is slower, but whether the end-to-end lifecycle improves. Practitioners should optimise for total workload cost, not write-path convenience alone.
What this signals
Telemetry scan efficiency: storage layers that minimise bytes read per query will increasingly determine whether security teams can investigate cloud and application logs at interactive speed. As retention grows, layout choices become operational decisions about analyst latency, not just infrastructure tuning.
Search architecture is becoming a control point for detection quality because query bottlenecks can look like visibility problems when they are really storage problems. Teams that measure only ingest success will miss the practical limit on how quickly telemetry can be turned into an answer.
For practitioners
- Benchmark query performance on real telemetry Measure end-to-end search time, page fetch time, and compaction cost on representative cloud and application logs before changing storage formats.
- Test sparse and high-cardinality schemas Include degenerate schemas with unique field names and values so you can see how the format behaves when compression opportunities collapse.
- Track retention headroom as a security metric Tie storage savings to the amount of searchable telemetry you can keep online without raising cost or reducing analyst access.
- Validate compaction under repeated rewrite cycles Check how often data is rewritten, how much CPU each pass consumes, and whether the format still pays back its encoding cost over time.
Key takeaways
- Log storage format influences more than cost because it also shapes how quickly analysts can search and correlate telemetry.
- The main evidence from Scanner.dev is that layout changes can reduce bytes, lower ingest compute, and accelerate repeated queries at the same time.
- Security teams should evaluate storage systems by total telemetry lifecycle cost, including scan speed, compaction, and analyst access.
Related NHI Mgmt Group resources: Security Data Lake Guide · Capacity Management as a Security Control · M1029 Remote Data Storage · Web Server Access Log Detection Guide
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 CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.DS-01 — Data-at-rest Protection | Log compression and storage layout affect how telemetry is protected and retained at rest. |
| DE.CM-01 — Monitoring for Unauthorized Activities | Fast access to logs supports continuous monitoring and timely detection workflows. | |
| Recommendation — Use PR.DS-01 to keep searchable telemetry protected while reducing the storage footprint. Align telemetry storage with DE.CM-01 so detection teams can query events without delay. | ||
| CIS Controls v8 | CIS-8 — Audit Log Management | Audit log retention and retrieval are central to the storage and query trade-offs discussed here. |
| Recommendation — Apply CIS-8 to ensure audit logs remain searchable, retained, and operationally usable. | ||
Key terms
- Columnar Storage: Columnar storage organizes data by column instead of by row, so systems can read only the fields needed for an analysis query. This layout improves compression and speeds up scans, aggregations, and analytics workloads, while row-based storage remains better suited to transaction processing that frequently reads or writes complete records.
- Zero-Copy Deserialization: Zero-copy deserialization is a parsing method that reads structured data from an existing buffer without copying it into separate in-memory objects. It is used in high-throughput systems such as log pipelines and network services, where reducing CPU cycles and memory allocations improves throughput and lowers latency.
- Compaction: Compaction is the process of reducing long conversation history into a shorter representation the model can still use. Good compaction preserves task intent, open decisions, and operational constraints, while poor compaction can erase the details needed for safe or correct action.
- Compression Ratio: The relationship between raw data volume and stored data volume after compression. Better compression reduces storage growth and total cost, especially in log-heavy environments where retention spans months or years.
Deepen your knowledge
NHI Mgmt Group covers identity security, NHI governance, and agentic AI through independent research, practitioner guides, and the NHI Foundation Level course. Explore nhimg.org for resources that connect identity governance to the broader security disciplines your programme depends on.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org