I want to send AWS Systems Manager Agent (SSM Agent) logs to Amazon CloudWatch Logs.
Complete the following steps:
To send the logs, the Amazon Elastic Compute Cloud (Amazon EC2) instance must include AWS Identity and Access Management (IAM) permissions.
Attach an IAM role to the instance that has the following permissions:
Note: You can include the preceding permissions with already existing permissions, and narrow the permissions based on your requirements.
To configure SSM Agent to send logs to CloudWatch Logs, see Sending SSM Agent logs to CloudWatch Logs.
Checking SSM Agent status and starting the agent
What is Amazon CloudWatch Logs?
Getting started with CloudWatch Logs