Exclusive access to the Trickest Query Language via Solutions is provided solely for Enterprise users. If you are interested in learning more about the Enterprise Edition, please contact us.
Overview
The Trickest Query Language enables precise filtering across very large, heterogeneous security datasets. It uses human‑readable conditions, comparison operators, and regular‑expression matching so you can compose multi‑condition filters that surface exactly what you need.Field availability depends on the dataset you are querying (e.g., Web Servers, Open Ports, Network Services, Vulnerabilities).
Operators
The Query Language supports four categories of operators for filtering data.Equality and Inequality
Test exact matches or exclusions across any field type.Operator | Description | Applicable Types |
---|---|---|
= | Exact match | Strings, numbers, dates, IPs |
!= | Does not match | Strings, numbers, dates, IPs |
Comparison Operators
Perform greater-than and less-than comparisons on numeric and time-like fields.Operator | Description | Applicable Types |
---|---|---|
> | Greater than | Numbers, dates/times |
< | Less than | Numbers, dates/times |
Pattern Matching (Regex)
Match string fields against regular expressions for flexible filtering.Operator | Description | Applicable Types |
---|---|---|
~ | Matches regex pattern | Strings |
!~ | Does not match regex pattern | Strings |
. * + ? [ ] ( ) { } ^ $ | \
). To match them literally, escape with a backslash:
.
(dot) →\\.
to match a literal period*
(asterisk) →\\*
to match a literal asterisk\
(backslash) →\\\\
to match a literal backslash
Logical Connectors
Combine multiple conditions to create complex filters.Operator | Description |
---|---|
AND | Both conditions must be true |
OR | Either condition can be true |
Examples
Basic Field Conditions
Match exact values:Combining Conditions
UseAND
to require multiple conditions:
OR
for alternative conditions:
Pattern Matching
Basic hostname pattern:Time-Based Queries
Find recent entries:Practical Use Cases
Identify services on non-standard ports:Building Reliable Queries
- Start broad, then refine — begin with a simple condition and add more only as needed.
- Use explicit comparisons — prefer
=
,!=
,>
,<
over implicit matching. - Quote strings and dates — keep text and time‑like values in quotes; keep numbers unquoted.
- Escape regex carefully — metacharacters like
.
and+
must be escaped when intended literally. - Reuse successful filters — save filters in your workflow’s Insights view to standardize triage.
Notes & Limitations
- The language operates over fields present in the active dataset; if a field doesn’t exist, the filter will return no results.
- Operator behavior depends on field type (numeric vs. string). Use the appropriate operator for the data you are querying.
- Complex grouping with parentheses is not required for the examples above; combine conditions with
AND
/OR
as shown.