REST command to get logs