By NHI Mgmt Group Editorial TeamDomain: Cyber SecuritySource: SawmillsPublished June 5, 2026

TL;DR: Kubernetes log management often fails because collection scales with pod count while cost scales with volume, retention, and indexing, and Sawmills’ analysis shows the real fix is deciding which logs should exist, where they should be processed, and what tier they belong in. The operational gap is governance, not collector choice, and the right policy can prevent noise from becoming a standing budget drain.


At a glance

What this is: This is an analysis of why Kubernetes log pipelines become expensive and unreliable as clusters scale, with the key finding that volume, retention, and indexing decisions matter more than collector choice.

Why it matters: It matters to IAM and security teams because telemetry policy increasingly overlaps with identity, access, and operational governance, especially when logs include authentication events, service accounts, and privileged activity.

By the numbers:

👉 Read Sawmills' analysis of Kubernetes log management at scale


Context

Kubernetes log management becomes a governance problem as soon as log volume, retention, and indexing start shaping cost and reliability. The primary issue is not whether logs can be collected, but whether every emitted line deserves to exist in the first place, especially in environments that also carry identity, authentication, and workload telemetry.

In practice, the failure mode is familiar: success-path noise, probe traffic, and debug output accumulate faster than teams can filter or tier them. That pattern is typical in growing clusters, and it is a useful reminder that telemetry lifecycle controls matter as much as the collector architecture itself.


Key questions

Q: How should security teams control Kubernetes log volume without losing useful telemetry?

A: Start by removing low-value events at the source, then enforce node-local filtering, and finally route only useful classes to the right retention tier. The goal is not to suppress evidence, but to stop success-path noise, probe traffic, and debug output from consuming budget and attention. Treat log policy as code and make ownership explicit.

Q: Why does Kubernetes log aggregation become expensive so quickly?

A: Costs rise when enrichment and retention are left unchecked. Every additional attribute creates more downstream cardinality, and every noisy log that reaches a backend consumes storage, indexing, and query resources. At scale, the expensive part is usually not the tool itself but the volume and shape of data the pipeline allows through.

Q: What breaks when log severity is not defined consistently across teams?

A: Routing, sampling, and retention rules all lose reliability. If one team uses info for business events and another uses it for debug noise, the platform cannot safely move data into the correct tier. In practice, inconsistent severity turns every cost-control rule into a guess and hides the logs operators actually need.

Q: Which control should teams prioritise first, collection or retention policy?

A: Retention policy should be defined first, because it forces teams to decide what each log class is for and where it belongs. Collection tools only execute policy, they do not create it. Once the retention model is clear, the collector architecture can support it instead of compensating for ambiguity.


Technical breakdown

Where Kubernetes logs are created and why rotation breaks pipelines

Kubernetes does not store application logs centrally. Applications write to stdout and stderr, the container runtime captures those streams on the node, and collectors read the files from local disk, usually under /var/log/pods. Rotation is handled by the runtime, not by the kubelet, so collectors must track inode changes, resume from new files, and avoid duplicate or missing lines. Under load, this is where pipelines fail first, because the collector falls behind precisely when volume spikes.

Practical implication: place drop and sampling rules as close to the node as possible so noisy logs never cross the network or hit the gateway.

Why DaemonSet, sidecar, and gateway architectures change control

A DaemonSet keeps collection node-local, which is efficient for high-volume log shipping but limited for cluster-wide decisions. Sidecars give per-pod isolation and tightly scoped configuration, but they multiply resource overhead and operational complexity. Gateways centralise filtering, redaction, routing, and retention policy, which makes them the right control point for governance even though they become critical-path infrastructure. In mature setups, the common pattern is DaemonSet for collection and gateway for policy enforcement.

Practical implication: use the gateway to define routing and retention tiers, but use the agent to remove obvious noise before it is stored or billed.

How severity and log class drive cost control

Log cost is shaped by what gets indexed, retained, and queried, not just by raw ingestion. Severity only works as a control if it reflects operational meaning. Debug should be temporary diagnostic detail, info should represent meaningful lifecycle events, warn should signal recovered degradation, and error should indicate failed correctness. If teams treat severity as an emotional label, routing and sampling rules become unreliable and storage tiers fill with low-value data.

Practical implication: standardise severity semantics in application code before applying tiered retention or sampling rules.


NHI Mgmt Group analysis

Telemetry lifecycle control is now a governance discipline, not a tuning exercise. Kubernetes observability costs rise when teams treat logs as a by-product instead of a managed asset with explicit creation, retention, and discard rules. That shift matters because the same governance logic applies to identity events, service account activity, and secrets-related telemetry. Practitioners should treat log policy as a control surface, not a cleanup task.

Log volume management is an access-control problem at the edge. The most effective reduction happens before data enters the broader platform, which means the node agent becomes a policy enforcement point. In identity-heavy environments, this is where privilege, workload identity, and telemetry policy intersect: if the system can emit everything, it can also leak everything. Practitioners should align telemetry filtering with workload and access boundaries.

Severity drift creates a hidden observability debt. When developers use severity labels inconsistently, downstream retention and sampling logic loses meaning and cost control collapses. That is the same failure pattern seen in poorly governed identity lifecycles, where labels exist but do not drive lifecycle action. Practitioners should make severity semantics part of engineering standards and code review.

Kubernetes log optimisation will increasingly converge with identity governance. As more security-relevant events move through application and cluster telemetry, teams will need policy that understands service identity, authentication noise, and privileged actions. That is where the identity angle becomes material: the telemetry pipeline increasingly records who or what acted, not just what happened. Practitioners should prepare for logging policy to become part of identity and control governance.

What this signals

Telemetry policy will increasingly sit alongside identity and access governance because the most valuable operational logs now describe authenticated actors, privileged actions, and workload behaviour. The practical signal for programme owners is that observability controls can no longer be separated from access and lifecycle policy, especially in Kubernetes environments that also carry secrets and service identities.

Telemetry policy debt: when teams allow severity labels, retention classes, and filter rules to drift, they create a governance gap that looks like a storage problem but behaves like an identity control failure. The organisations that close this gap will treat log classification as a control objective, not a cleanup task.

Security teams should expect tighter convergence between telemetry routing, workload identity, and incident response evidence handling. That means the next maturity step is not just cheaper logs, but logs that are deliberately shaped so they support investigations without overwhelming storage or masking privileged activity.


For practitioners

  • Define log creation rules at source Classify health checks, probe traffic, and success-path lifecycle events in application standards so noisy lines are never emitted in production by default.
  • Enforce node-local drop rules Apply filter logic in the DaemonSet agent for /healthz, /readyz, and known probe patterns so low-value logs do not reach the gateway or backend.
  • Standardise severity semantics Document what debug, info, warn, error, and fatal mean in engineering policy, then review application logging against those definitions before tiering retention.
  • Separate routing by value class Send errors and security-relevant events to hot search tiers, keep routine info logs on shorter retention, and archive debug only when there is a clear operational need.
  • Audit telemetry policy drift regularly Review which services are generating the highest log volume each month and verify that any new instrumentation has an explicit owner, retention class, and filtering rule.

Key takeaways

  • Kubernetes log cost problems usually start with governance gaps, not with the collector itself.
  • Telemetry volume, retention, and indexing create a different curve from pod growth, which is why bills rise unexpectedly.
  • The most effective control is to decide what should exist before data reaches the pipeline, then enforce that policy consistently.

Standards & Framework Alignment

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

MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AC-4Identity and access-aware telemetry policy supports controlled log exposure.
NIST SP 800-53 Rev 5AU-2Audit event selection is central to deciding what logs should exist.
CIS Controls v8CIS-8 , Audit Log ManagementThis article is fundamentally about controlling audit log volume and retention.
MITRE ATT&CKTA0009 , Collection; TA0010 , ExfiltrationTelemetry volume and log routing affect how evidence is collected and protected.

Map noisy log paths and uncontrolled export to collection and exfiltration risk, then reduce unnecessary exposure.


Key terms

  • DaemonSet collector: A DaemonSet collector runs one telemetry agent on each Kubernetes node so log collection stays local to the workload. It is the common pattern for high-volume environments because it reduces network overhead and lets teams filter noise before data reaches shared infrastructure.
  • Log retention tier: A log retention tier is the storage class assigned to a log based on how long it should stay searchable and how quickly it must be retrieved. Tiering is a governance decision, not just a storage choice, because it determines cost, investigation speed, and the usability of the telemetry estate.
  • Severity semantics: Severity semantics describe the agreed meaning of labels such as debug, info, warn, and error inside an engineering organisation. When those labels are consistent, collectors and retention rules can make safe automated decisions. When they drift, cost control and incident triage both become unreliable.

What's in the full article

Sawmills' full article covers the operational detail this post intentionally leaves for the source:

  • Concrete collector placement guidance for DaemonSet, sidecar, and gateway patterns
  • Example filtering logic for health checks, kube-probe traffic, and other low-value logs
  • Practical routing and retention tiering approaches for different log classes
  • How the vendor maps telemetry policy to day-to-day operational workflow

👉 Sawmills' full article covers the collector architecture, filtering patterns, and retention choices in more operational detail.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps practitioners connect identity controls to the broader operational disciplines their programmes depend on.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 19, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org