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.”

[cw_log] section

Focus mode
[cw_log] section - AWS ParallelCluster

Defines configuration settings for CloudWatch Logs.

The format is [cw_log cw-log-name]. cw-log-name must start with a letter, contain no more than 30 characters, and only contain letters, numbers, hyphens (-), and underscores (_).

[cw_log custom-cw-log] enable = true retention_days = 14

For more information, see Integration with Amazon CloudWatch Logs, Amazon CloudWatch dashboard, and Integration with Amazon CloudWatch Logs.

Note

Support for cw_log was added in AWS ParallelCluster version 2.6.0.

enable

(Optional) Indicates whether CloudWatch Logs is enabled.

The default value is true. Use false to disable CloudWatch Logs.

The following example enables CloudWatch Logs.

enable = true

Update policy: If this setting is changed, the update is not allowed.

retention_days

(Optional) Indicates how many days CloudWatch Logs retains individual log events.

The default value is 14. The supported values are 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.

The following example configures CloudWatch Logs to retain log events for 30 days.

retention_days = 30

Update policy: This setting can be changed during an update.

On this page

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