Este contenido no está disponible en el idioma seleccionado
Trabajamos constantemente para que el contenido esté disponible en el idioma seleccionado. Gracias por tu paciencia.
How do I push Systems Manager SSM Agent logs to CloudWatch?
1 minutos de lectura
0
I want to send AWS Systems Manager SSM Agent logs to Amazon CloudWatch Logs. How can I do that?
Resolution
Create a log group in CloudWatch Logs
To 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 permissions
The 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 Logs