Skip to content

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

asked 2 years ago1.3K views

2 Answers
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

answered 2 years ago

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

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.