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.

Quotes

Prev Next

Use single quotes (' ') or double quotes (" ") in Trellix Query Language (TQL) to search for specific types of values.

Use quotes for the following:

  • Exact strings, including those containing spaces.

  • Reserved keywords (such as and or or) to treat them as literal values.

  • Plain text values that are not part of a regular expression.

You can use the quoting styles interchangeably. For example, eventType='api' and eventType="api" produce the same result.

When to use quotes

Quoting ensures that TQL interprets the value literally rather than as a keyword, number, or expression.

Examples:

  • count>"4" — Searches for the literal string "4" (not the numeric value 4).

  • description:"/wmps/" — Searches for the exact text "/wmps/" (unlike description:/wmps/, which is interpreted as a regular expression).

Escaping quotes

To search for a quote character within a string, precede it with an escape character (backslash).

  • Double quote: \"

  • Single quote: \'

Note

TQL interprets backticks ( `) the same way as single and double quotes when used for literal values.