Review query history in Logs

Select Logs in the Query Builder to see the last 100 queries run there, with who ran each one, how long it took, how many rows it returned and whether it succeeded.

Who can do this: Owner, Admin and Member. About roles

On this page

Every query run in the Query Builder is recorded automatically, including queries that fail or are cancelled. Use the log to find a query you ran earlier, check why one failed or see what teammates have been running.

Open the log

  1. Step 1: Select Data in the left rail.

  2. Step 2: Under Public Data, select any source, then Query Builder.

  3. Step 3: Select Logs.

    The tooltip reads "View query execution history".

  4. Step 4: Review the Query Logs table.

What each entry shows

ColumnMeaning
UserName and email of the person who ran the query
QueryThe SQL text
Data sourceThe source the query ran against
Execution timeHow long the query took
Row countNumber of rows returned
StatusWhether the query succeeded, failed or was cancelled
ErrorThe error message, if the query failed
TimestampWhen the query ran

Reuse an earlier query

The Query Builder has no saved queries, so the log is the way to get back to recent work.

  1. Step 1: Find the entry in Query Logs.

  2. Step 2: Copy the SQL text from the query column.

  3. Step 3: Return to the editor, paste it and select Execute.

    Make sure you are in the same data source the query was written for.

Limits

  • The log shows the most recent 100 executions. Older entries drop out of view.
  • It covers queries run in the Query Builder. Questions asked in chat are not listed here. To see the SQL behind a chat answer, use Sources under the response.
  • It records query executions and cancellations only. It is not a full audit trail of exports or other activity.
  • There is no filter, search or export for the log.

Common questions

Can teammates see my queries?
The log lists the user name and email for each entry, so people in your organization who can open the Query Builder can see what was run and by whom.
How far back does the log go?
It shows the last 100 executions.
Are cancelled queries logged?
Yes. Executions and cancellations are both recorded automatically.

Related articles