--- title: "Has" slug: "has-1" tags: ["Helix Enterprise", "Reference", "Sec Ops and Analytics"] updated: 2026-09-09T16:29:16Z published: 2026-09-09T16:29:16Z canonical: "docs.trellix.com/has-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. # Has The `has` function provides a filter for events that contain data in one or more fields. The parameters to the `has` function are field names. Any number of field names can be specified. For example: ``` has(dstcity) ``` Result: would return only results that included a populated `dstcity` field. ``` has(dstcity,srccity) ``` Result: would return only results that included a populated `dstcity` field and a populated `srccity` field. > [!NOTE] > Note > > The legacy `has`:field and `has`= field syntax is deprecated as of TQL 2.0.