--- title: "Running a search (Legacy)" slug: "running-a-search-legacy-1" updated: 2026-09-12T18:52:23Z published: 2026-09-13T08:42:57Z canonical: "docs.trellix.com/running-a-search-legacy-1" --- > ## 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. # Running a search (Legacy) To run a search in Trellix Helix, enter a search query written using Trellix Query Language (TQL). See the *TQL Reference Guide* for more information. After you have run one query, you can use pivoting to refine the query or create a new query. See [Pivoting from event data](/network-and-platform/docs/pivoting-from-event-data-legacy-1).Pivoting from event data To run a search: 1. Enter a search query using TQL syntax. See the *TQL Reference Guide* for more information. You can select **Syntax Help** underneath the search bar to get help entering a TQL search query. 2. Select **Index Search** or **Archive Search** from the search drop-down menu. 3. Select a time range over which you want to search by clicking the calendar icon. See [Selecting a date range for the search](/network-and-platform/docs/selecting-a-date-range-for-the-search-legacy-1). If you do not select a date range, archive search will search all of your data, which may take a very long time. ### Note The archive search end time cannot be within 3 hours of the current time. 4. Select the sensor (CB) for the data you want to search. See [Selecting a sensor (CB) for the search](/network-and-platform/docs/selecting-a-sensor-cb-for-the-search-legacy-1). 5. Click the ![magglass_icon_searchbar.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-74cf0686-d994-0eb3-722f-80ae2c897c81(3).png?sv=2026-02-06&spr=https&st=2026-11-19T22%3A16%3A20Z&se=2026-11-19T23%3A16%3A20Z&sr=c&sp=r&sig=7HBLTjoTrNJIt%2Bm1vbs6Tc%2BkAEgGVSthGz85SOYu6t4%3D) icon on the right end of the search bar. If you selected an index search, the search starts. If you selected an archive search, a confirmation message provides the search ID, which you can use to track the progress of the search on the Archive Searches page. The progress is also shown in the search bar. 6. (Optional). Use the Run Archive Search window to limit results to a specified number of results or minutes. ### Note The actual archive search time may differ from the **End search after** value, based on the current search load. 7. Click **Run Search**. ### Note A limited number of archive searches can run concurrently. The upper right corner of the Run Archive Search window shows you how many more you can run. You can still create archive searches after the limit is reached, but the archive searches will be queued until a currently running archive search completes. To review and use the search results, see [Using search results](/network-and-platform/docs/using-search-results-legacy-1).