---
title: Automating queries
aliases: [ "/docs/automate-queries/" ]
---
<!-- licenses: community, platform -->

runZero's ((query language)) allows you to search and filter your asset inventory, based on asset fields and values. runZero includes a ((query library)) of ((prebuilt searches)) which can be browsed from the ((Queries)) page. You can apply these queries after a scan to investigate discovery findings. 

In addition to a flexible query language, the same search syntax can be used to track and monitor events across your network, based on any combination of fields. You can save your custom queries to reuse over and over again. Review the [query syntax](search-query-syntax.md) documentation for a refresher on how to build a query. 

If there are certain queries you always want to run after a scan, you can turn on the **Auto** option. After the query runs, you will be able to view its results in the [Queries table](https://console.runzero.com/queries). 

From the Queries table, any filter that has checkmark in the _Auto_ column means that it is active. The _Matches_ column is next to it. You can click on the numbered result in the _Matches_ column to view the results of the query. If there were no matches, the filter will show 0. 

## Turn on ((automatic search queries|automatic queries))

1. Select Queries from the left navigator. 
2. Open or create the query you want to turn on.
3. Turn on the **Automatically track query results on the dashboard** option. 
4. Save the query. 
