How do I delete an export task from Cloudwatch to S3?

0

A while ago I set up a same account export using the guide here: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3ExportTasksConsole.html. Essentially I end up with new folders daily, in my target s3 bucket, which contain Cloudwatch log exports.

I no longer need to export these logs to S3 - how can I delete this task? In the console, I see no option aside from one to cancel an in-progress task. I can't cancel the task once it's finished.

The same limitation appears in the CLI command: https://docs.aws.amazon.com/cli/latest/reference/logs/ There is no option to delete the task, just cancel an in-progress one.

Is there any option to stop the export, short of deleting the log group or restricting the bucket permissions?

1개 답변
0

Hello.

Your shared document settings only run exporting once, so you may have configured something like EventBridge to export periodically.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3ExportTasksConsole.html

Please check if EventBridge scheduler is configured.
If EventBridge scheduler remains and is not needed, try deleting it using the steps in the document below.
https://docs.aws.amazon.com/scheduler/latest/UserGuide/managing-schedule-delete.html

profile picture
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠