Add log host_id index and use it first in history research filter