Using the CloudWatch logging agent