group and reduce device_log_user