Configuring the CloudWatch logs agent