Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

339
Views
Amazon S3 server logging : configure how often log files are generated

I have a bucket on S3 for which I wish to get some special information (how many times the files were downloaded, by how many unique people, etc.). S3 does not provide such information through the API, so I enabled Server Access Logging.

However, each log file seems to only have one single entry, which means I get a lot of files for not too much info. From the docs :

Amazon S3 periodically collects access log records, consolidates the records in log files, and then uploads log files to your target bucket as log objects.

Not sure what periodically means for them, but I would love to have a way to only get one log file/day, for example. I have yet to find a way to configure it this way.

Anyone encountered the same problem ?

Thanks

about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Its random, as in not regular intervals. I have seen 5 per hour and sometimes single lines per file on low traffic buckets and 5 per minute from high traffic buckets with many lines per file. You have to aggregate your logs by yourself anyway. You seem to have small log files so maybe you could use a script like this. If you get lots of traffic you may want to use a log analysis service.

about 4 years ago · Santiago Trujillo Report

0

See "Best Effort Server Log Delivery".

Quoting: Server access log records are delivered on a best effort basis. Most requests for a bucket that is properly configured for logging will result in a delivered log record, and most log records will be delivered within a few hours of the time that they were recorded.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!