> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sherloqdata.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Queries History Logs

> Automated Saving of Executed Queries from IDE.

This feature automatically saves the history of queries you and your team run, allowing to access them in the ‘History’ section for quick reuse and reference to your previous work.

<Note> **This feature is compatible only with the following IDEs: DataGrip, Snowflake, BigQuery, and Mode. If you use a different IDE and would like this feature, let us know [here](https://www.sherloqdata.io/other-editor).** </Note>

<img width="700" alt="qurey history datagrip" src="https://mintcdn.com/sherloq-31da1dfe/ZD1BvcX8WQjPZQn2/images/query_history_dg.png?fit=max&auto=format&n=ZD1BvcX8WQjPZQn2&q=85&s=ecbc990b693b2144e61fbc991e3925ad" data-path="images/query_history_dg.png" />

**Common use cases:**

* **Metadata Discovery**: Identify which tables and fields are commonly used by your team.

* **Data Discovery**: Learn how to query specific tables or fields following common practices.

* **Backup and Easy Access**: Quickly access your previous unsaved work.
  Go to the menu → **History Queries**, and you’ll find all your executed query logs, sorted by the last execution time in your IDE.

<img width="400" alt="qurey history menu" src="https://mintcdn.com/sherloq-31da1dfe/ZD1BvcX8WQjPZQn2/images/query_history_menu.png?fit=max&auto=format&n=ZD1BvcX8WQjPZQn2&q=85&s=1e0107cf2ca020c4d001f09636284864" data-path="images/query_history_menu.png" />

<img width="400" alt="query history section" src="https://mintcdn.com/sherloq-31da1dfe/ZD1BvcX8WQjPZQn2/images/query_history_section.png?fit=max&auto=format&n=ZD1BvcX8WQjPZQn2&q=85&s=cc51bda293bc824e03ac5032d1a22f0f" data-path="images/query_history_section.png" />

<Check> There is **unlimited** storage for query logs in the Business + AI Plan. </Check>
<Check> You can save historical queries to your Sherloq by clicking on the save icon. </Check>

## Search Team’s Queries History Logs

You can search your team’s query history, filter by the specific user who executed the query, domain expert, or asset name (e.g., a field or table name)

<img width="400" alt="query history search" src="https://mintcdn.com/sherloq-31da1dfe/ZD1BvcX8WQjPZQn2/images/query_history_search.png?fit=max&auto=format&n=ZD1BvcX8WQjPZQn2&q=85&s=7cd2e99c3d0b8f95745390414ae62f59" data-path="images/query_history_search.png" />

<Note> To learn more about how the search works, read more [here](/queryhistory_search). </Note>
