We are using Metabase to query Amazon Redshift DB.
In AWS UI queries section I can see Metabase user ID and corresponding queryHash.
-- Metabase:: userID: 201 queryType: native queryHash: e0f499f3bc109a46cdf4e686fa06fb6379ec01265640ecc3f45365349b7c6e3f
Now, I have to find out what is the question id and dashboard id for this queryHash? Is this possible, If yes how?
Thanks in Advance!!
The simplest way that I found was by querying Metabase database. QueryHash column can be found in
query
andquery_execution
tables. It seems that onlyquery_execution
table has a reference to question/card.