Bucket logs over time intervals