Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Log Sink
Cyber Security

Log Sink

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Cyber Security

A log sink is the destination where log data is sent, such as a file, service, analytics platform, or cloud logging endpoint. Sink choice matters because insecure transports, public storage, or weak permissions can turn otherwise useful logs into a durable source of data exposure.

What a log sink is in practice

A log sink is the destination that receives log output, but the security meaning is broader than simple delivery. The sink becomes part of the trust boundary for telemetry, because whoever can read, route, delete, or export from it may be able to see sensitive operational detail or suppress evidence of activity.

That is why sink design is usually treated as a logging control, not just an engineering detail. The destination can be a local file, a logging service, a cloud-native router, or an analytics platform, and each option changes the exposure surface, durability, and integrity of the record.

Why sink choice changes the security of logs

The sink determines where logs live, how they are protected in transit and at rest, and who can access them after collection. If logs contain authentication events, administrative actions, API calls, or payload fragments, the sink may hold data that is useful for detection and investigation but also valuable to an attacker.

An insecure sink can quietly undo otherwise good logging. Publicly readable storage, weak IAM on a logging account, or an unencrypted transport path can expose sensitive records, while overly broad write permissions can allow log tampering or selective suppression.

In cloud environments, sink design also affects whether logs are centralized, retained, and separated from the workload being observed. A centralized destination generally improves review and correlation, while a weakly isolated sink can let a compromised workload interfere with its own telemetry.

Common log sink patterns and their trade-offs

Simple file-based sinks are easy to deploy but rely on host security, local disk durability, and downstream shipping. Managed logging endpoints reduce operational burden, but they introduce service-side permissions, routing logic, and retention policy decisions.

Analytics-platform sinks can make correlation and searching easier, especially when many systems feed the same destination. The trade-off is that the sink then becomes a high-value aggregation point, so access control, segregation of duties, and lifecycle management matter more.

In cloud platforms, aggregated or organization-wide sinks improve coverage and make audit trails harder to evade. The downside is that configuration mistakes, such as filter gaps or misrouted streams, can create blind spots that look like healthy logging until an incident reveals what was missed.

How to evaluate a sink for exposure and integrity

When reviewing a log sink, the key question is not only whether logs arrive, but whether they remain trustworthy once they do. Verify the transport security, the destination permissions, the retention model, and whether the sink can be altered by the same principals whose activity it records.

Also check whether the sink preserves enough fidelity for investigation. Truncation, aggressive filtering, or unsupported event types can create an audit trail that exists on paper but fails under real detection or forensic demands.

For cloud audit pipelines, the most useful references are the vendor logging guidance and the platform’s own audit-log documentation, because sink mechanics vary materially by environment. NHIMG’s Cloud Logging and Audit Trail Guide and Google Cloud Audit Logs and Log Sinks Guide are useful for understanding how aggregated sinks, retention, and tamper detection fit together.

Operational consequences when a sink is weak

A weak sink can expose sensitive log content, create gaps in monitoring, or let an intruder hide evidence of what they did. Because logs often include user identifiers, session details, request metadata, and system events, sink compromise can turn routine observability into a confidentiality and integrity problem.

The most serious failure mode is not always full deletion. Partial routing failures, misconfigured filters, and overly permissive writers can be enough to reduce detection confidence, delay incident response, or make post-incident reconstruction incomplete.

When logs are used for compliance, investigations, or fraud review, sink weakness also becomes a governance issue. The organisation may still believe it has retained evidence when in fact the destination was never protected well enough to be relied on.

Standards & Framework Alignment

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

NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AU-2 — Event LoggingLog sinks are the destination for audit records and event capture.
AU-9 — Protection of Audit InformationSink security depends on preventing unauthorized access, modification, and deletion of logs.
AU-11 — Audit Record RetentionSink choice directly affects how long logs remain available for investigation and compliance.
Recommendation — Define required log destinations and event coverage for each system. Restrict who can read, alter, or erase audit records at the sink. Set retention requirements on the sink so audit data remains available when needed.
NIST CSF 2.0PR.DS-01 — Data-at-rest is protectedA log sink commonly stores sensitive records that should be protected at rest.
Recommendation — Protect stored log data with appropriate at-rest safeguards.

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 October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org