in reply to How to create a non uniform multi-dimention array with push?

I'm not sure I'm clear on all the requirements, but if the time intervals are known and consistent for each index, meaning you won't need to store them, you could:
push( @{$log[$error_type_index]}, $error_count );