Passer au contenu

Where is SSM Session Command Line Logging?

0

Hi everyone,

When i try to connect to SSM Session, the Cloudtrail will record me as StartSession. However, when i try to enter commands within the session, it won't log in Cloudtrail.

Could you show me where to find these logs? Or is there any setup that i have to configure?

Thanks in advance! Long

demandé il y a 2 ans1,3 k vues

2 réponses
0

Hello.

Please configure logging using the steps described in the documentation below.
You can output logs to CloudWatch Logs or S3.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-logging.html

EXPERT

répondu il y a 2 ans

0

Hi.

Read this page of the doc (and the ones it links to): https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent-logs.html

You will get details about execution logs for SSM commands

Best,

Didier

EXPERT

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.