Direkt zum Inhalt

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

gefragt vor 2 Jahren1294 Aufrufe

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

EXPERTE

beantwortet vor 2 Jahren

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

EXPERTE

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.