Volume 6 · Chapter 8 — Observability and Operations

CloudWatch Logs, Synthetics, and RUM in Depth

Goutham Mayaluri 4 min read AWSCloudCloudWatchObservability

8.1 Introduction

The logs chapter covered structured, centralized logging; the exam expects the specific CloudWatch Logs features (metric filters, subscription filters, Logs Insights, Live Tail) plus the proactive monitoring tools - Synthetics canaries and RUM for real-user monitoring - and how ServiceLens ties observability together. This chapter provides that depth.

8.2 Log Features: Metric Filters, Subscription Filters, Live Tail

CloudWatch Logs has features that turn logs into metrics and pipelines.Metric filtersscan incoming log events for patterns and increment a CloudWatch metric (e.g. count “ERROR” or failed-login lines), which you then alarm on - so you can alert on log content by converting it to a metric.Subscription filtersstream matching log events in real time to a destination - Lambda, Kinesis Data Streams, or Kinesis Data Firehose - for real-time processing, cross-account aggregation, or delivery to a data store/SIEM.Logs Insightsis the query engine for interactive analysis, andLive Tailstreams logs in real time for live debugging.Retentionis set per log group (default never-expire, so set it to control cost) and you can export to S3 for archival. The exam pattern: metric filter to alarm on log patterns, subscription filter to stream logs to processing/aggregation.

flowchart LR
  Logs[(CloudWatch Logs)] --> MF[Metric filter -> metric -> alarm]
  Logs --> SF[Subscription filter -> Lambda/Kinesis/Firehose]
  Logs --> LI[Logs Insights queries]
  Logs --> LT[Live Tail - real-time]
  Logs --> S3[Export/archive to S3]

8.3 Synthetics Canaries: Proactive Monitoring

CloudWatch Syntheticsrunscanaries- scripted checks that simulate user actions (hit an endpoint, walk through a login flow, call an API) on a schedule from the outside - so you detect problemsbefore real users do, even when there’s no traffic. Canaries monitor availability, latency, and functional correctness of endpoints and workflows, and alarm on failures. This is proactive (synthetic) monitoring, complementing the reactive metrics/logs that only show problems once real requests fail. For a bank, a canary that continuously exercises the login and payment flow catches an outage in seconds, at 3am, regardless of live traffic. The exam associates Synthetics with proactive endpoint/workflow monitoring.

8.4 RUM, Evidently, and ServiceLens

Three more observability tools.**CloudWatch RUM (Real User Monitoring)**collects performance data fromactual end users’ browsers(page load times, errors, client-side latency, user journeys) - the real-user complement to synthetic canaries.CloudWatch Evidentlysupports feature flags and A/B experiments with metric evaluation.ServiceLensintegrates traces (X-Ray), metrics, and logs into a unified service map and views, so you can move between the three pillars for a service in one place. The exam pattern: Synthetics = synthetic/proactive checks, RUM = real-user browser monitoring, ServiceLens = unified metrics+logs+traces view. Together they cover proactive, real-user, and correlated observability.

8.5 Banking Production Scenario

A bank uses metric filters to convert log patterns (failed logins, specific errors) into metrics it alarms on, and subscription filters to stream security-relevant logs in real time to a Kinesis pipeline feeding its SIEM and a central logging account. Logs Insights powers incident investigation and Live Tail aids live debugging, with per-log-group retention and S3 export controlling cost. Synthetics canaries continuously exercise the login, balance-check, and payment flows from multiple Regions, catching outages proactively before customers do. RUM captures real customers’ browser performance to spot client-side degradation, and ServiceLens unifies metrics, logs, and traces per service for fast diagnosis. This layered proactive-and-reactive observability is the professional-level operations design the certification targets.

8.6 Chapter Revision Notes

  • Metric filters turn log patterns into alarmable metrics; subscription filters stream matching logs in real time to Lambda/Kinesis/Firehose (processing, aggregation, SIEM).
  • Logs Insights = interactive query engine; Live Tail = real-time streaming; set per-log-group retention (default never-expire) and export to S3 for archival/cost.
  • Synthetics canaries = scripted proactive checks of endpoints/workflows on a schedule - detect problems before users, even with no traffic.
  • RUM = real-user browser monitoring; Evidently = feature flags/experiments; ServiceLens = unified metrics + logs + traces view.
  • Combine synthetic (canaries) and real-user (RUM) monitoring with reactive metrics/logs/traces for complete observability.