The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Subsearch with variable expansion

Prev Next

You can also use subsearch in combination with variable expansion.

For example:

  IOC (dsthost:$exec_pc)

For this query, search first resolves the subsearch expression by doing a search for all the dsthosts that match the list $exec_pc and returns the result to add them as search terms in the main query. If the exec_pc list contains the hostnames execcto and execcfo, the following search is executed by the main query:

  IOC dsthost:"execcto" OR IOC dsthost:"execcfo"