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
The legacy
has:field andhas= field syntax is deprecated as of TQL 2.0.