Can I reverse lookup by query id?

I’m just wondering that in the log emitter, I saw generated query id. Is there a way I can reverse that to see what query in json associated with that id?

Hi,
To find the query associated with a query id, you need to enable request logs and then search the request logs for the query id.

For configuration refer to Request Logging section here -

http://druid.io/docs/latest/configuration