--- title: "Run the real-time search query for investigation and threat hunting" slug: "run-the-real-time-search-query-for-investigation-and-threat-hunting-1" tags: ["Product Usage", "EDR", "Endpoint Security"] updated: 2026-09-29T10:06:50Z published: 2026-09-29T10:06:50Z canonical: "docs.trellix.com/run-the-real-time-search-query-for-investigation-and-threat-hunting-1" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Run the real-time search query for investigation and threat hunting When you are investigating or hunting for a threat on managed endpoints, you can search for real-time data using search expressions or queries on the real-time search dashboard. This helps you to search for current processes and events happening on endpoints in real-time. 1. Log on to Trellix EDR. 2. Select **Menu** → **Real-time Search**. 3. Select **Search with Trellix EDR QL**, or **Search with Wise**. Select a time period, and click **Apply**. > [!NOTE] > Note > > The Real Time Search dashboard allows you to cache the previously used search method, ensuring that when you navigate back to the Real Time Search dashboard, your preferred search method is retained. > > Each tenant is allocated a predefined quota limit based on the Trellix Wise quota purchased for that specific tenant. For details, see [Quota Management System](/v1/docs/quota-management-system).. 4. In the **Search** box, enter a search expression. For details about real-time search syntax to create powerful expressions, see [Real-time Search syntax](/v1/docs/create-a-real-time-search-query-using-syntax-1). For real-time search expression examples, see [Real-time Search examples](/v1/docs/real-time-search-query-examples-1). > [!WARNING] > Important > > The **Search with Wise** method allows you to construct queries with proper syntax based on the natural language input. > > In the **Search with EDR QL** method, parentheses determine operator precedence, allowing you to control the order of query execution. For example: > > ```plaintext > DeviceName starts with "test" OR (ProcessName not contains "exe" AND CommandLine contains "exe") > ``` 5. Click the search icon to start collecting data from managed endpoints. On the grid or results table, you can hover over the column headers and click on the menu icon to perform these activities. - **Pin Column** — Pin a column to the left or right. You can click **No Pin** to unpin a column. ![GUID-29E4349D-A117-444B-8938-1DBA65874712-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-5324bac3-24ae-7925-ccc4-8757418b4c9a(1).png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A16%3A06Z&se=2026-11-19T22%3A16%3A06Z&sr=c&sp=r&sig=btiZoUc3JKBUwkAWsEGb%2Bkj5OtCadR9gblCW38rkhbc%3D) - **Reset Columns** — Reset columns to the default view. - **Filter...** — Filter results within a column. The available logical operators and options for columns: - Options — **Contains**, **Not contains**, **Equals**, **Not equal**, **Starts with**, and **Ends with** - Logical operators — **AND** and **OR** ![GUID-1DC88545-5376-4308-8C47-96703596958B-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-acb46201-b582-869c-88dd-64b8df84c051(1).png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A16%3A06Z&se=2026-11-19T22%3A16%3A06Z&sr=c&sp=r&sig=btiZoUc3JKBUwkAWsEGb%2Bkj5OtCadR9gblCW38rkhbc%3D) - **Search...** — Search and add or remove available columns to the grid. ![GUID-97ED761C-B203-4610-B787-F9A8E2968367-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-32bf8651-d818-a865-ba06-9578a94c5de8(1).png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A16%3A06Z&se=2026-11-19T22%3A16%3A06Z&sr=c&sp=r&sig=btiZoUc3JKBUwkAWsEGb%2Bkj5OtCadR9gblCW38rkhbc%3D) You can also perform these activities on the grid: - Sort columns in ascending or descending order - Move or rearrange columns to the left or right - Drag column headers to set row groups Example: You can drag and drop column headers to the row highlighted below to group by Hostname and Status of a file currently available or deleted. ![GUID-A46DC5E1-0BB0-46BD-97E0-B62486E0BE5A-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-3c492c8c-2f64-74e4-90e6-fd6d8ef86268(1).png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A16%3A06Z&se=2026-11-19T22%3A16%3A06Z&sr=c&sp=r&sig=btiZoUc3JKBUwkAWsEGb%2Bkj5OtCadR9gblCW38rkhbc%3D) > [!NOTE] > Note > > Real Time Search queries that rely on script execution returns empty results if endpoint security policies restrict script execution. Such restrictions can block scripts executed by Trellix EDR system processes. This can occur with Trellix Endpoint Security (ENS) or any other endpoint security solution that enforces script control policies. Ensure that required processes are allowed to execute scripts to avoid incomplete results. 6. Click **Export All** option to export the results from a real-time search to a .csv file to analyze it offline using other third-party tools.