What InfraQL supports
Operators and values
Combine typed comparisons, boolean logic, collections, existence checks,
and field aliases.
Time and ranges
Search relative windows, fixed dates, exact timestamps, and inclusive or
exclusive ranges.
Correlate services
Use
same_service(...) when several conditions must match one service on a
host.Patterns and text
Use contains, wildcards, regular expressions, quoted phrases, and bare
banner terms where the field allows them.
Choose a dataset
Search starts with the result you want:Host queries normally prefix service fields with
services.. Service queries
use those fields directly. Inside same_service(...), use the service field
names without the prefix.Start with a field
The basic clause is:AND, OR, NOT, and parentheses:
AND between adjacent clauses:
Examples by dataset
- Hosts
- Services
- DNS
- OSINT
Combine context in one query
Host search can combine network attribution, tag classifications, and evidence from one matching service:Grafana. same_service(...)
prevents the protocol and HTTP conditions from matching different services on
the same host.
Validate before execution
Validate a generated, user-supplied, or automated query against the same dataset you intend to search:Run the search
Pass the InfraQL expression inq. curl --data-urlencode safely encodes
spaces and punctuation:
Browse every field
Inspect types, operators, aliases, and dataset-specific meanings.
Follow analyst workflows
Apply InfraQL to IP, service, DNS, bulk-enrichment, and aggregation work.