added simpledb indexing for logs