跳至内容

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

已提问 2 年前1293 查看次数

2 回答
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

专家

已回答 2 年前

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

专家

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。