Skill 5.3.2

Collect and interpret networking logs to troubleshoot issues (for example, VPC flow logs, ELB access logs, AWS WAF web ACL logs, CloudFront logs, container logs)

Key Concepts

VPC Flow Logs record source, destination, ports, protocol, packets, bytes and ACCEPT or REJECT per ENI; they go to CloudWatch Logs, S3 or Firehose and are queried with Logs Insights or Athena. They do not record DNS traffic to the Resolver, instance metadata or packet contents. ELB access logs (to S3) show request time, client, target, status codes from the load balancer and the target, and processing times.

AWS WAF logs (CloudWatch Logs, S3 or Firehose) show the terminating rule and action for each request. CloudFront standard logs show the x-edge-result-type (Hit, RefreshHit, Miss, Error) and status, and real-time logs go to Kinesis Data Streams. Container logs come from the awslogs driver, FireLens or Container Insights.