Skip to content

How to find out where the S3 ListObjects requests came from

0

In the last two days, my billing increased a lot due to lots of S3 ListObjects api requests. I'm sure it wasn't originated by my services.

I'd like to know how can I figure out where are these requests coming from, and which buckets were accessed?

I had no clue on this issue.

Then I enabled CloudTrail service, but still didn't find out where S3 ListObjects came from.

1 Answer
5
Accepted Answer

you can enable S3 Server Access Logging and analyze the generated logs. S3 Server Access Logging provides detailed records for the requests made to your S3 buckets

bucket > properties > Server access logging Download the log files from the destination bucket. Look for entries with the "REST.GET.BUCKET" operation, which corresponds to the ListObjects API request.

EXPERT

answered 3 years ago

AWS
EXPERT

reviewed 3 years ago

EXPERT

reviewed 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.