A high-cardinality field is a data attribute that takes many unique values, such as request IDs, pod UIDs, or session tokens. These fields often increase storage and indexing cost disproportionately because they repeat across large volumes of logs while adding little analytical value in most cases.
What makes a high-cardinality field expensive
A high-cardinality field has many distinct values, so indexing systems often store a large amount of metadata just to track entries that appear only once or a few times. That overhead can outweigh the analytical value, especially in log-heavy environments where values like request IDs or session tokens are useful for correlation, but not for aggregation.
The core problem is not the field itself, but the way storage engines and query systems optimize for repeated values. When nearly every row is unique, compression, index reuse, and rollup efficiency all degrade. In practice, that can make a field disproportionately costly compared with the insight it returns.
Why high-cardinality fields matter in logs and telemetry
These fields are common in application logs, distributed tracing, and event streams because systems need identifiers to follow one request, pod, or user session across components. That makes them operationally useful for investigation, but also easy to over-index when teams send every attribute to every platform by default.
In observability pipelines, high-cardinality data can increase ingest volume, slow queries, and raise retention costs. It can also make dashboards noisy when analysts try to group by a value that is effectively unique per event. The result is often a telemetry design that is expensive to retain but awkward to analyze.
As NHI Management Group’s Monitoring vs Observability guide explains, the value of trace and log data depends on whether it improves investigation and detection rather than simply increasing volume.
How to think about analytical value versus storage cost
High-cardinality fields should be judged by the question they answer. A request ID may be indispensable for incident triage, but not useful for trend reporting. A session token may help correlate events, but its value drops sharply once the system has richer session summaries or trace context.
That trade-off is why many teams separate fields used for search and correlation from fields used for metrics and reporting. A field can be operationally important and still be a poor candidate for broad indexing or long-term aggregation. The right design choice is usually to preserve the data somewhere, but avoid giving it expensive default treatment everywhere.
In security telemetry, this distinction matters because excessive indexing can create cost pressure that leads teams to sample, truncate, or delete data too aggressively. If analysts later need those records for incident reconstruction, the loss is felt as a visibility gap rather than a storage savings.
Where high-cardinality fields fit in data hygiene and platform design
Managing high-cardinality fields is part of broader telemetry hygiene: deciding which attributes should be indexed, queried, summarized, or kept only in raw form. The goal is not to eliminate unique identifiers, but to prevent them from dominating the cost structure of the platform.
That usually means classifying fields by purpose, keeping correlation identifiers available for investigations, and avoiding unnecessary duplication across dashboards and indexes. For high-volume systems, especially those with logs, traces, and security events, this design discipline can materially reduce cost without reducing forensic usefulness.
It also helps teams define which unique fields are essential for operations and which are merely convenient to collect. That distinction becomes important as data platforms scale, because the most expensive fields are often the ones that are easiest to add and hardest to remove later.
When high-cardinality fields become a governance issue
At scale, this is not just a storage concern. It becomes a governance issue when teams accumulate large volumes of unique identifiers without clear ownership, retention intent, or query purpose. The same field can be essential for one workflow and wasteful in another, so policy needs to reflect actual use rather than default ingestion.
Common misunderstanding: high-cardinality data is not inherently bad. The problem is unexamined collection, indexing, and retention. A field with many unique values may be exactly what investigators need, but it should be treated as a deliberately managed telemetry attribute, not an automatic candidate for expensive platform-wide indexing.
Practitioner takeaway: keep high-cardinality fields where they help correlation and investigations, but be deliberate about indexing, aggregation, and retention so the cost of uniqueness stays proportionate to the value it provides.
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, NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | ID.AM-01 — Inventory of Assets | High-cardinality telemetry relies on knowing what data is collected and where it flows. |
| Recommendation — Inventory telemetry sources and fields so expensive unique-value data is collected only where it has clear operational value. | ||
| NIST SP 800-53 Rev 5 | AU-2 — Event Logging | Log design determines which high-cardinality attributes are captured and retained for analysis. |
| AU-11 — Audit Record Retention | Retention choices affect the cost and investigative usefulness of high-cardinality log data. | |
| Recommendation — Define event fields so logs capture necessary correlation data without indexing every unique attribute. Set retention rules for unique identifiers so forensic value is preserved without keeping everything at high-cost tiers. | ||
| CIS Controls v8 | CIS-8 — Audit Log Management | Audit logging requires balancing log usefulness against storage and retrieval cost. |
| Recommendation — Tune log collection and review so high-cardinality fields support investigations without overwhelming storage and search. | ||
| ISO/IEC 27001:2022 | A.8.15 — Logging | Logging controls govern what telemetry is recorded and how it is used for monitoring and investigation. |
| Recommendation — Specify logging rules that keep necessary unique identifiers while limiting unnecessary log-volume growth. | ||
Related resources from NHI Mgmt Group
Deepen Your Knowledge
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.
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