aggregate device logs by domain,user_id, month.index, log_type before collecting otherwise we run out of memory