adapt to api apiv2 log format