Query for stored records
You can query records that are stored in the recordstore with a standard search, the ExtraHop Query Language, or with AI Search Assistant.
- Learn more about querying records with a standard search.
- Learn more about querying records with the ExtraHop Query Language
- Learn more about querying for records with AI Search Assistant.
- To learn how to query for a specific record, see our walkthrough for Discovering missing web resources.
- You can also automate this task through the REST API.
| Note: | To create a record query for a custom metric, you must first define the record relationship by linking the custom metric to a record type. |
Query records with a standard search
The Records page enables you to build a complex filter to search for records.
Here are some important things to know about record queries with standard search:
- You can specify multiple criteria with OR (Match Any), AND (Match All), and NOT operators.
- You can group filters and nest them to four levels within each group.
- You can edit a filter group after you create it to refine search results.
- You can set the time range you want to search in the global time selector.
- Click Stop Search to interrupt a query at any time.
Next steps
- You can click the search
toggle to convert the query to the ExtraHop Query Language. - You can view and drill down on record query results.
- You can refine your record query filter.
- You can click the complex filter that you built and enter a filter display name.
- You can click the Save icon
from the top
right of the page to save the query that includes the Record Type and Group By
values. - You can click a packet icon next to a record to start a packet query that is filtered by that record or click the query link at the bottom of the table to start a packet query for all displayed records.
Query records with ExtraHop Query Language
You can search for records with the ExtraHop Query Language (EQL), which enables you to quickly write complex record queries as plain text for greater flexibility. For example, you can easily copy queries across systems, paste values directly into queries, and write queries programmatically.
Here are some important things to know about record queries with the ExtraHop Query Language:
- You must build a query in the EQL editor field according to the syntax found in
the ExtraHop Query Language Reference, which
you can access by clicking the help
icon in the top right corner of the editor. - The EQL editor supports autocomplete. You can click in the EQL editor field to
display lists of available record types, fields, and operators as you build your
query.

- You can click the search
toggle to switch between standard search and EQL. If you switch to EQL from a
standard search filter, the filter is converted to an EQL query. If you switch
to standard search from an EQL query, the filter cannot be converted and the EQL
editor field is cleared. - You can specify multiple criteria with OR (Match Any), AND (Match All), and NOT operators.
- You can click and drag the lower-right corner of the EQL editor field to expand the window.
- The EQL editor displays messages for errors such as invalid values, unsupported
functions, or invalid syntax. You cannot run the query until all errors are
resolved.

- Click Stop Search to interrupt a query at any time.
Before you begin
- You must have an ExtraHop account with Full Write privileges or higher.
- You must have either RevealX 360 or RevealX Enterprise with an EXA 5300, EXA 5300v, BigQuery, or LogScale recordstore.
Next steps
- You can view and drill down on record query results.
- You can refine your record query filter.
- You can click a packet icon next to a record to start a packet query that is filtered by that record or click the query link at the bottom of the table to start a packet query for all displayed records.
Suggested queries
Select from a list of suggested queries on the Records page to quickly generate common record searches in ExtraHop Query Language (EQL).
Before you begin
Familiarize yourself with the privileges and steps required to query records with ExtraHop Query Language.Query records with AI Search Assistant
AI Search Assistant enables you to search for records with questions written in natural, everyday language to quickly build complex queries compared to building a standard search query with the same criteria.
For example, if you query for "Were there any suspicious HTTP transactions with files in the last 7 days?'", the following AI Search Assistant query is displayed:
Time Interval = Last 2 days and Record Type = [HTTP] Suspicious = True and File Observed = True
Here are some things to consider when searching for devices with AI Search Assistant:
- Prompts are mapped to the same record filter criteria that you specify when building a standard search.
- Prompts can include absolute and relative time ranges, such as "Show me traffic with Potential SQLi in the last 7 days". The current year is applied if a year is not included for a date.
- Prompts should be as clear and concise as possible and we recommend that you try writing a few variations to maximize your results.
- The ExtraHop system might be unable to process a query that contains requests for record information that is outside of the available filters.
- The ExtraHop system can retain user prompts for product improvement purposes; we recommend that you do not include proprietary or confidential data in your prompts.
- You can edit the query filter criteria to refine search results.
Before you begin
- Your ExtraHop system must be connected to ExtraHop Cloud Services.
- AI Search Assistant must be enabled by your ExtraHop administrator.
Next steps
- You can view and drill down on record query results.
- You can refine your record query filter.
- You can click the Save icon
from the top
right of the page to save your filter for another time. - You can click a packet icon next to a record to start a packet query that is filtered by that record or click the query link at the bottom of the table to start a packet query for all displayed records.






next to the
suggested query title to run the query and view records.
to refine your query filter
criteria.

Thank you for your feedback. Can we contact you to ask follow up questions?