Add index to logging infrastructure

Adding this index will improve performance of running reports