Security teams should design log collection as an interoperable pipeline, not a monolithic box. That means standardising data formats, keeping APIs open, and ensuring each component can recognise and enrich the records it receives. This approach reduces vendor lock-in, supports mixed security and observability use cases, and makes it easier to handle modern ephemeral and containerised environments.
Design logs as a shared interchange layer, not a product boundary
When observability and security are split across components, the main design choice is to treat logs as portable evidence that can move cleanly between systems. The collection path should preserve structure, timestamps, source context, and parsing hints so each downstream tool can use the record without relying on a single vendor’s schema or storage model.
That is especially important in environments where telemetry is produced by different layers, such as applications, infrastructure, containers, and cloud services. A collection design that assumes one all-purpose platform usually breaks when teams need to route the same record to both detection and performance workflows, or when a component is replaced during a platform migration.
- Define a minimum canonical schema for core fields such as time, source, actor, action, outcome, and correlation identifiers.
- Keep transport and storage choices separate from analysis choices so collection can survive tool changes.
- Preserve raw event fidelity alongside normalised fields when enrichment may differ by consumer.
Preserve enrichment at the edge, but make the pipeline interoperable
Each component in the chain should recognise the records it receives and enrich them with the context it uniquely knows, such as host metadata, workload labels, deployment IDs, or tenant information. The point is not to force every component to understand every other component, but to make each handoff explicit and machine-readable.
This matters because security and observability teams often need different interpretations of the same event. A security tool may care about identity, privilege, and suspicious sequences, while an observability platform may care about latency, saturation, and service health. If the log pipeline is opaque, one team’s enrichment can destroy the other team’s usefulness.
- Use open APIs and documented schemas so producers, relays, and consumers can evolve independently.
- Apply enrichment only where the necessary local context exists, then forward the augmented record without flattening away provenance.
- Validate that correlation fields survive normalisation, especially across ephemeral workloads and short-lived jobs.
Why split pipelines fail in practice
The most common failure mode is over-optimisation for a single sink. Teams either over-collect at the source and pay excessive storage and parsing costs, or they under-collect and lose the fields needed for detection, incident triage, or forensic reconstruction. Another recurring problem is brittle integration, where a change in one component silently changes meaning downstream.
Modern containerised and ephemeral environments make those weaknesses more visible. If pods, instances, or agent processes can disappear quickly, the collection design must be resilient enough to capture logs before the source goes away and precise enough to let downstream tools reconcile events across restarts and redeployments.
- Watch for field loss during parsing, especially when one tool emits text and another expects structured records.
- Check that buffering, retries, and backpressure do not create blind spots during spikes or outages.
- Keep retention and access rules aligned across security and observability stores so the same event is not preserved in one place and discarded in another.
Risk and Threat Considerations
Split log architectures create exposure when different components interpret the same event differently or when enrichment is lost between hops. That can weaken detection, make investigations incomplete, and create hidden dependency on a single parsing or routing layer.
Failure mechanism: brittle schemas, dropped fields, broken correlation, or delayed forwarding can prevent a security team from reconstructing what happened, especially when the source is ephemeral or the event is transformed more than once.
Impact: defenders may miss suspicious sequences, misattribute activity, or lose the evidence needed for incident response and post-incident review.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
CIS Controls v8 and NIST CSF 2.0 set the technical controls, while ISO/IEC 42001:2023 define the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| CIS Controls v8 | 8 — Audit Log Management | Shared log pipelines need consistent collection, retention, and review across tools. |
| 13 — Network Monitoring and Defense | Interoperable log collection supports cross-tool detection and monitoring workflows. | |
| Recommendation — Standardise audit log collection and retention so security and observability consumers can rely on the same evidence. Route normalised telemetry into monitoring workflows that can correlate events across split components. | ||
| NIST CSF 2.0 | DE.AE — Anomalies and Events Are Detected | Portable logs improve event detection when sources and analysis tools are separated. |
| PR.PT — Protective Technology | Open interfaces and interoperable transports are protective design choices for log pipelines. | |
| RC.RP — Recovery Plan Is Executed | Reliable logs support incident recovery and reconstruction after component failures. | |
| Recommendation — Preserve event context so detection teams can identify anomalies across multiple log-producing components. Use interoperable logging interfaces and transports that can survive component replacement. Ensure retained logs remain usable for reconstruction during recovery and post-incident analysis. | ||
| ISO/IEC 42001:2023 | 6.1 — Actions to Address Risks and Opportunities | AI systems often depend on split telemetry pipelines that need governed logging decisions. |
| Recommendation — Document logging risks and controls where multiple components must share telemetry reliably. | ||
Practitioner Guidance
What to verify: confirm that every handoff preserves the fields you actually investigate with, not just the fields that are easy to transport. If security and observability use different consumers, test the same sample event end-to-end in both paths and compare what survives normalisation, enrichment, and retention.
Decision rule: if a field is needed for correlation, detection, or forensic use, make it part of the canonical pipeline contract rather than a best-effort add-on at one downstream tool. If a component cannot pass through or recognise that field reliably, treat the component as a design gap, not a logging detail.
Practitioner takeaway: The right design is the one that keeps logs portable, intelligible, and attributable across component boundaries, because security value disappears as soon as collection becomes tool-specific rather than evidence-specific.
Related resources from NHI Mgmt Group
- How should security and observability teams standardize telemetry pipelines across multiple log sources and destinations?
- How should security teams design context for AI agents that use tools and memory across multiple steps?
- How should security teams handle fragmented identity data across multiple IAM tools?
- How should security teams unify identity risk across multiple IAM tools?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org