added ensureindex on timestamp field in dht22 logs collection