Ajeet Ganga
Ajeet Ganga

Reputation: 8653

Where do I find access logs for file stored in S3

We just wanted to know, if someone added or deleted file in an particular bucket.

Is there a place we can look at ? * I dont want a programmatic interface, just to look at manually. *

Upvotes: 5

Views: 10167

Answers (1)

Jason Sperske
Jason Sperske

Reputation: 30416

You need to enable logging on a specific bucket. Once you do Amazon will start saving logs in another bucket (usually something like "bucket-name-logging" though it is definable once you set it up so it can have any name) Here is a link to parsing the format. There will be one key for each access event (each GET, PUT, DELETE etc), so you may want to look into a programmatic way of reading them like Sawmill.

Upvotes: 3

Related Questions