How do I push Systems Manager SSM Agent logs to CloudWatch?
I want to send AWS Systems Manager SSM Agent logs to Amazon CloudWatch Logs. How can I do that?
"I want to send AWS Systems Manager SSM Agent logs to Amazon CloudWatch Logs. How can I do that?ResolutionCreate a log group in CloudWatch LogsTo create a log group in CloudWatch Logs, follow these steps:Open the CloudWatch console, and then choose Log groups from the navigation pane.Choose Create log group.For Log group name, enter a name.Choose Create.Attach permissionsThe Amazon Elastic Compute Cloud (Amazon EC2) instance must include AWS Identity and Access Management (IAM) permissions to send the logs. You must attach the CloudWatchLogsFullAccess IAM role to the instance. For instructions, see Attach an IAM role to an instance.Note: You can include these permissions with already existing permissions. You can also further narrow the permissions based on your requirements.Configure SSM Agent to send logs to CloudWatch LogsFor instructions to configure SSM Agent to send logs to CloudWatch Logs, see Sending SSM Agent logs to CloudWatch Logs.Related informationChecking SSM Agent status and starting the agentWhat is Amazon CloudWatch Logs?Getting started with CloudWatch LogsFollow"