Este conteúdo não está disponível no idioma selecionado
Estamos trabalhando constantemente para disponibilizar conteúdo no idioma selecionado. Agradecemos sua paciência.
How do I push Systems Manager SSM Agent logs to CloudWatch?
1 minuto de leitura
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