Start wiring in queries

tempest-devstack failure detection is now working, now detecting when
logs are in elastic search.