Aggregate logfile data into intervals