How to export training logs from CloudWatch
Hi,When I launch a model training inAWS SageMaker & HF Training DLC, there is atraining jobcreated inAWS SageMakerthat has a link toCloudWatch > Logs > Logs groups > /aws/sagemaker/TrainingJobs > job name of my training > Log eventswhere I can see the logs of my training.Great.Now, I would like to export all these logs to atxtfile.Strange but I do not see a button for that.Who knows how to do it? Thanks.
2021-12-13T10:17:46Z
Hi! you can either export logs to S3 via the log export feature:https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3ExportTasksConsole.htmlYou can also query the logs via SDK, for exampleCloudWatchLogs — Boto3 Docs 1.20.23 documentation