add index for log search