Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Disabling Session Manager logging in CloudWatch Logs and Amazon S3

Focus mode
Disabling Session Manager logging in CloudWatch Logs and Amazon S3 - AWS Systems Manager

You can use the Systems Manager console or AWS CLI to disable session logging in your account.

To disable session logging (console)
  1. Open the AWS Systems Manager console at https://console.aws.amazon.com/systems-manager/.

  2. In the navigation pane, choose Session Manager.

  3. Choose the Preferences tab, and then choose Edit.

  4. To disable CloudWatch logging, in the CloudWatch logging section, clear the Enable checkbox.

  5. To disable S3 logging, in the S3 logging section, clear the Enable checkbox.

  6. Choose Save.

To disable session logging (AWS CLI)

To disable session logging using the AWS CLI, follow the instructions in Update Session Manager preferences (command line).

In your JSON file, ensure that the s3BucketName and cloudWatchLogGroupName inputs contain no values. For example:

"inputs": { "s3BucketName": "", ... "cloudWatchLogGroupName": "", ... }

Alternatively, to disable logging, you can remove all S3* and cloudWatch* inputs from your JSON file.

Note

Depending on your configuration, after you disable CloudWatch or S3, a temporary log file might still be generated to disk by SSM Agent. For information about how to disable logging to disk, see Configuring session logging to disk.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.