latest logs by host_id + performance fix