Skip to content

Conversation

@gmarciani
Copy link
Contributor

@gmarciani gmarciani commented Dec 17, 2025

Description of changes

Fix and consolidate the timestamp format used for CW Logs in CW Agent configuration. In particular, the following changes have been applied:
- Rename timestamp format keys to use consistent naming convention (iso8610, default_seconds)
- Update CloudWatch agent config to use iso8610 format for JSON event logs (clustermgtd, slurm_resume)
- Consolidate Slurm log timestamp formats (slurmd, slurmctld, slurmdbd) to use iso8610
- Update SSSD log timestamp format from default to default_seconds for consistency
- Change DCV authenticator log format from bracket_default to default
- Add millisecond precision to PS4 prompt in generate_ssh_key.sh for better debug logging
- Add millisecond precision to pcluster_dcv_connect.sh log timestamps for improved log accuracy
- Improves log parsing consistency and debugging capabilities across all services

Tests

  • Manually verified that all the logs in the Cw agent configuration have the correct timestamp format and CW is able to parse it.
  • PENDING Executed integ test test_cloudwatch_logging

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@gmarciani gmarciani changed the base branch from release-3.14 to develop December 23, 2025 16:48
@gmarciani gmarciani changed the title Wip/mgiacomo/3150/fix cw log timestamp 1215 1 [Logging] Fix timestamp formats in Cw agent configuration Dec 23, 2025
@gmarciani gmarciani force-pushed the wip/mgiacomo/3150/fix-cw-log-timestamp-1215-1 branch from a50c468 to d286e41 Compare December 23, 2025 16:49
@gmarciani gmarciani added the 3.x label Dec 23, 2025
… configurations.

- Rename timestamp format keys to use consistent naming convention (iso8610, default_seconds)
- Update CloudWatch agent config to use iso8610 format for JSON event logs (clustermgtd, slurm_resume)
- Consolidate Slurm log timestamp formats (slurmd, slurmctld, slurmdbd) to use iso8610
- Update SSSD log timestamp format from default to default_seconds for consistency
- Change DCV authenticator log format from bracket_default to default
- Add millisecond precision to PS4 prompt in generate_ssh_key.sh for better debug logging
- Add millisecond precision to pcluster_dcv_connect.sh log timestamps for improved log accuracy
- Improves log parsing consistency and debugging capabilities across all services
@gmarciani gmarciani changed the title [Logging] Fix timestamp formats in Cw agent configuration [Logging] Fix and standardize timestamp formats across Cloudwatch log configurations. Dec 23, 2025
@gmarciani gmarciani force-pushed the wip/mgiacomo/3150/fix-cw-log-timestamp-1215-1 branch from d286e41 to 52f0d61 Compare December 23, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant