Add host pattern and support limit/offset for logs