跳至內容

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 年前檢視次數 1294 次

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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。