Mathieu
Mathieu

Reputation: 4797

How to filter or cleanup my S3 buckets clutters by log file?

I use S3 and amazon cloud front to put images.

When I go on amazon S3 interface, it's hard to find the folder where i have put my images because i need to scroll 10 minutes past all the buckets it creates every 15 minutes/hour. There are literally thousands.

See here a snapshot: enter image description here

AND SO ON.....FOR THOUSANDS OF FILES UNTIL...

enter image description here

Upvotes: 1

Views: 368

Answers (1)

dcro
dcro

Reputation: 13679

Those are not buckets, but are actually log files generated by S3 because you enabled logging for your bucket and configured it to save the logs in the same bucket.

If you want to keep logging enabled but make it easier to work with the logs, just use a prefix in the logging configuration or set up logging to use a different bucket.

If you don't need the logs, just disable logging.

See http://docs.aws.amazon.com/AmazonS3/latest/dev/ServerLogs.html for more details.

Upvotes: 1

Related Questions