Chapter 11Logging, Monitoring, and Detection

Effective security auditing depends on the ability to see, understand, and trust what systems are doing at every moment. Logging, monitoring, and detection form the evidentiary core of that visibility. They translate the billions of transactions, authentications, and data movements occurring across modern infrastructures into interpretable signals that auditors and defenders can evaluate. When governed properly, these signals become the factual backbone of risk assessments and compliance assurance. Without them, both operational detection and audit validation become guesswork—leaving organizations blind to misuse, misconfiguration, and emerging threats.
Modern enterprises operate in environments that are both distributed and dynamic—spanning on-premises systems, cloud services, and AI-driven analytics pipelines. Within this complexity, ensuring trustworthy telemetry, reliable log retention, and accurate detection content is vital not just for incident investigation but for organizational accountability. Effective monitoring requires balancing completeness with precision: knowing what to collect, how long to retain it, and how to interpret it without overwhelming teams or systems. This chapter’s focus on coverage, integrity, tuning, and governance connects these operational practices directly to audit assurance, emphasizing that visibility ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access