Skip to main content

SRQL Reference

SRQL (ServiceRadar Query Language) is a compact key:value language for querying devices, events, logs, flows, and telemetry. This page is the complete reference: grammar, queryable entities, filterable fields, operators, time syntax, and aggregation.

New to SRQL? Start with the SRQL Tutorial for a guided walkthrough, or jump to the SRQL Cookbook for ready-made recipes.

Overview​

The Rust-based SRQL engine (rust/srql) parses the key:value syntax into a query AST and validates the query plan. Web-ng executes SQL plans against the configured backend and returns consistently shaped results. Agent extension fleet plans use the scoped read models described in Agent extension fleet queries.

Use SRQL to:

  • Select a data domain with in:<entity>.
  • Filter with key:value pairs, wildcards, lists, ranges, and negation.
  • Scope to a time window with time:.
  • Shape results with sort:, limit:, and pagination cursors.
  • Summarize with stats: aggregations or bucket: downsampling.

Query structure​

A query is a whitespace-separated list of tokens. Every token is either the in: selector, a reserved keyword (time, sort, limit, stats, etc.), or a key:value filter. Tokens may appear in any order, but every query must include exactly one in: selector.

in:<entity> [key:value ...] [time:<window>] [sort:<field>[:dir]] [limit:<n>] [stats:<expr>]

Example:

in:devices vendor_name:Cisco hostname:%core% time:last_7d sort:last_seen:desc limit:20

Tokenization rules​

  • Tokens are separated by whitespace.
  • Wrap values containing spaces in quotes: vendor_name:"Axis Communications". Single quotes, double quotes, and backticks are all accepted.
  • Parentheses ( ) and brackets [ ] group list and range values; whitespace inside them does not split the token.
  • Keys are case-insensitive and lowercased before matching.

The in: selector​

in:<entity> chooses which data domain to query. The entity name is case-insensitive, and most entities accept several aliases (for example in:devices and in:device are equivalent).

See Queryable entities for the full list of entities, aliases, and fields.

Operators​

SRQL infers the operator from the value you write.

FormOperatorSQL behavior
field:valueequals=
!field:valuenot equals<>
field:%text%containsILIKE (case-insensitive)
!field:%text%does not containNOT ILIKE
field:(a,b,c)one ofIN (...)
!field:(a,b,c)none ofNOT IN (...)
field:>ngreater than>
field:>=ngreater than or equal>=
field:<nless than<
field:<=nless than or equal<=

Notes:

  • Negation applies to the key, written as !key:value. Writing key:!value is not supported.
  • AND is implicit: listing multiple filters means all of them must match.
  • OR for a single field is the list form field:(a,b). There is no general OR keyword across different fields — parenthesized expressions such as (dst_port:22 OR src_port:22) are not valid SRQL (they tokenize as a single broken key:value). Cross-field “either side” cases use dedicated bidirectional fields instead (see below). Tracking for full boolean groups: issue #3557.
  • Bidirectional flow helpers (flows / attributed_flows):
    • ip: / endpoint_ip: — either endpoint IP
    • port: / endpoint_port: — either endpoint port
    • cidr: — either endpoint in a CIDR
    • Prefer these over inventing (src_* OR dst_*) syntax
  • Ranges are expressed by repeating a numeric field with two comparison bounds: usage_percent:>80 usage_percent:<95.
  • List filters accept at most 200 values.

Wildcards​

% is the wildcard character for string matching. It matches any run of characters and emits a case-insensitive ILIKE (or NOT ILIKE when negated).

in:devices hostname:router-% # starts with "router-"
in:devices hostname:%.lab # ends with ".lab"
in:devices hostname:%core% # contains "core"

A value with no % is matched for exact equality.

Time scoping​

Use time: (alias timeFrame:) to constrain time-series queries. If you omit a time window, the engine applies a default window.

Relative windows​

time:last_<number><unit> — units are m (minutes), h (hours), d (days), and y (years).

in:events time:last_30m
in:logs time:last_24h
in:flows time:last_7d

Shortcuts​

in:events time:today
in:events time:yesterday

Absolute ranges​

Bracket syntax [start,end] accepts RFC 3339 timestamps. Leave a side blank for an open-ended range.

in:events time:[2026-01-01T00:00:00Z,2026-01-02T00:00:00Z]
in:events time:[2026-01-01T00:00:00Z,] # open end
in:events time:[,2026-01-02T00:00:00Z] # open start

Limits​

Most queries are capped at a 90-day time range. Aggregated metric queries (a metric entity combined with stats: or bucket:) may span 395 days. in:sweep_coverage may span 400 days, the coverage rollup's query ceiling. in:sweep_results keeps the 90-day cap. Hourly rollups serve the aggregates that have a stored column. agg:last does not use them; see Downsampling with bucket.

Sorting and pagination​

  • sort:<field>[:asc|:desc] — orders results. Direction defaults to desc. Multiple sort keys are comma-separated: sort:time:desc,bytes_total. order: is an accepted alias for sort:.
  • Device queries support sort:hostname:asc and sort:hostname:desc, including hostname as a secondary sort key. UID ascending is the final tie-breaker. Null hostnames appear last in ascending order and first in descending order; empty hostnames remain empty strings.
  • limit:<n> — caps the number of rows returned in one page. Must be a positive integer. An explicit limit is the limit that runs. When srql_max_limit is set above zero, that configured maximum still applies. Grouped device stats default to 20 groups when limit: is omitted. A page that comes back full includes next_cursor, which means further rows or groups may exist.
  • On bucket: queries sort: selects which end of the time window survives limit:, not the order rows come back in. See Downsampling with bucket.
  • Pagination is cursor-based. Each response includes next_cursor / prev_cursor values that callers pass back to page through results.
  • The configured cursor-offset cap applies to ordinary queries. Seasonal stats:profile_hour_of_week(value) and stats:profile_hour_of_week_full(value) queries are exempt so cohort discovery and baseline delivery can page to completion. A query may also set window_scan:true to take the same exemption. Maintenance jobs that have to cover a time window use it. Interactive queries omit it and still receive the cursor-limit error past the ceiling. This exception applies to both query execution and SQL translation, including caller-supplied queries; it is not restricted to internal workers. Per-page row limits still apply.

Aggregation with stats​

stats: collapses rows into summary values.

stats:<function>(<field>) as <alias> [by <field>]
  • Functions: count, sum, avg, min, max.
  • count() takes no field; the others require one.
  • as <alias> names the result column.
  • by <field> groups results (the SQL GROUP BY).
  • Combine multiple aggregations with commas: stats:"count() as total, avg(value) as average".
in:devices stats:count() as total by type
in:timeseries_metrics metric_type:"sysmon.cpu" metric_name:"cpu.usage_percent" time:last_24h stats:avg(value) as avg_cpu by metric_name
in:flows time:last_1h stats:sum(bytes_total) as bytes by src_ip sort:bytes:desc

Legacy in:cpu, in:memory, in:disk, and in:processes (with canonical names cpu_metrics, memory_metrics, disk_metrics, and process_metrics) remain supported. They project the corresponding sysmon.* samples in timeseries_metrics into legacy row fields on both CNPG and StarRocks through Readers. Saved filters, stats, sorting, and downsampling keep working.

Historical aggregates use existing timeseries hourly rollups when those rollups preserve the requested fields, filters and series. The general rollup retains device identity and metric values; CNPG's disk rollup also retains mount points. Charts use hourly rollups only for buckets that are positive multiples of one hour. Sub-hour and nonintegral-hour buckets use retained raw samples at the requested resolution. Rollup-compatible aggregates include the full hours containing the start and end timestamps, with the same effective window when a stale warehouse rollup triggers a raw retry. Averages are weighted by sample count. Shapes that require byte tags, host identity, process names or other unretained dimensions read only the configured raw retention (seven days by default on CNPG). StarRocks mount-specific queries also use raw retention because its general hourly rollup does not retain mounts. This compatibility does not restore expired samples or guarantee full historical equivalence, and it never reads the retired dedicated sysmon tables.

New metric envelopes persist resource.host_id as tags.host_id, which supplies legacy host fields, filters, series and sorting on both backends. Previously stored samples without that tag do not acquire host identity retroactively.

Composite-result stats​

in:composite_results now honours stats:. The previous ignore dumped matching rows, so a query that looked like a rollup still hit the 2,000-row frame ceiling. Unsupported aggregations and group fields return InvalidRequest instead of that silent dump.

Only count() is supported. Group fields: check (aliases check_slug, slug), check_name, verdict, status, input_key, input_value, input_stale. input_* fields unnest the inputs JSONB map with jsonb_each so a vantage rollup is a GROUP BY, not a client fold. Default limit 100 when limit: is omitted. An explicit limit: is honored. A full page sets next_cursor. Unquoted stats tokens cannot contain spaces; write by check,verdict or quote the expression.

in:composite_results stats:count() as n by check,verdict
in:composite_results check:pci-isolation stats:count() as n by verdict
in:composite_results check:pci-isolation stats:"count() as n by input_key, input_value, input_stale"

Do not group on hostname. Hostname is a second in:devices uid:(…) frame scoped to the current page of result uids.

Grouping devices by a tag or metadata key​

in:devices can group on a JSONB sub-key as well as a column, which is how you chart a dimension that only exists as a tag:

in:devices stats:count() as total by tags.gate limit:100
in:devices tags.site:ZZA stats:count() as total by tags.gate limit:100
in:devices stats:count() as total by metadata.integration_type

Devices missing the key are counted under Unknown rather than dropped. The grouped result names the column with its full path (tags.gate), which is also what sort: expects: sort:tags.gate:asc.

Groupable device fields: type, vendor_name, risk_level, availability, is_available, is_active, gateway_id, tags.<key>, metadata.<key>.

Grouped queries return at most 100 rows and default to 20, so set limit: explicitly when a dimension has more distinct values than that — otherwise the chart silently shows a subset.

Downsampling with bucket​

For time-series charts, bucket: groups rows into fixed time buckets.

  • bucket:<duration> — bucket width using s|m|h|d suffixes (e.g. bucket:5m).
  • agg:<function> — bucket aggregation: avg (default), min, max, sum, count, rate (per-second rate of change for counters), rate_sum (per-second rates summed across the series collapsed into a bucket), or last (alias latest: the value of the newest sample in the bucket, for gauges such as a position or a battery level). agg:last reads raw samples on CNPG and on StarRocks. Hourly rollups have no newest-sample column, so this aggregate is never served from them.
  • series:<field> — splits buckets into one series per distinct value.
  • value_field:<field> — which numeric field to aggregate.
in:timeseries_metrics time:last_7d bucket:5m agg:avg series:metric_name
in:flows time:last_1h bucket:5m agg:sum value_field:bytes_total
in:timeseries_metrics metric_name:drone.position.lat time:last_2m bucket:2m agg:last series:tags.asset_id

Buckets are always returned oldest-first, because that is what a chart renders. sort: instead chooses which end of the window limit: keeps when the range holds more buckets than the limit allows:

  • sort:time:desc (or no sort: reversal) keeps the newest buckets.
  • sort:time:asc keeps the oldest.
  • With no sort: at all, the oldest buckets are kept.

This matters on long ranges with narrow buckets: time:last_30d bucket:5m spans 8640 buckets, so limit:100 returns a fraction of the window either way. Widen the bucket rather than raising the limit — bucket:1h over 30 days is 720 buckets.

Flow volume across buckets​

A flow record carries the flow's start and end time and is stamped with its end time. For in:flows and in:attributed_flows, a bucketed agg:sum, rate or rate_sum over a byte or packet field (bytes_total, bytes_in, bytes_out, packets_total, packets_in, packets_out) spreads each flow over the buckets its interval overlaps, in proportion to the overlap. A five-minute flow on bucket:1m adds a fifth of its bytes to each of five buckets instead of all of them to the bucket it ended in. stats:"sum(bytes_total) as bytes by time:1m" is spread the same way.

  • The total is preserved exactly. A flow that started before the window adds only the part that falls in the window's buckets.
  • A flow with no start time, with zero duration, or that fits inside one bucket is counted in its own bucket, as before.
  • One flow covers at most 240 buckets. When the window holds more buckets than that and a flow is longer, the part of its in-window share before those 240 buckets is added to the earliest of them.
  • Other aggregates (count, avg, min, max) still count each flow once, in the bucket it ended in.
  • Buckets of a whole number of hours, when the hourly rollup can answer the query, count each flow in the hour it ended. The raw table answers the same query the same way, so the two sources agree. The cost is that the part of a flow that ran before an hour boundary appears in the hour it ended.

Target queries​

A target query is SRQL that says which records a feature acts on: the devices a credential rule, SNMP or sysmon profile, visibility profile, sweep group, composite check, availability source profile, reverse-DNS cohort, ephemeral expiry exclusion or MTR policy covers, the agents an add-on profile assigns, and the inputs of a plugin target policy or producer schedule. The control plane reads a target query's whole selection, a page at a time with its own page limit, and acts on every record it matches.

Tokens that bound or reshape a result therefore have no effect in a target query. Saving a target query that contains one fails with an error naming it:

TokenWhy it is refused
limit:The whole selection is always read, so a limit would be ignored. Narrow the selection with filters.
stats:, rollup_stats:, other:They return aggregate rows, not records to target.
bucket: / downsample:They return time-bucketed series, not records to target.

sort: is allowed. It does not change which records match, and a paged read appends its own unique tie-break after it. time: is a filter and is allowed. A target query saved before this rule keeps working and is still read whole; the rule applies when the query is next edited.

Queryable entities​

Target data with in:<entity>. Each entity exposes its own set of filterable fields; using a field that the entity does not support returns an unsupported filter field error naming the offending field.

Entity (in:)AliasesDescription
devicesdevice, device_inventoryDevice inventory and current state
device_availability_historydevice_availability_transitions, availability_historyMerged device availability changes: each row is from_state from from_since until changed_at, then to_state. Row listing only; stats:, rollup_stats: and bucket: are refused. Requires devices.view.
eventsactivityNormalized OCSF events and activity
security_eventsControl-plane security audit log. Requires settings.audit.view.
logs—Application and system logs (OpenTelemetry)
threat_intel_matchesthreat_intel_match, ioc_matches, ioc_matchCurrent IP/CIDR cache-to-indicator memberships. Requires observability.netflow.view.
flowsflow, network_activityNetFlow / network activity records (raw 5-tuples)
attributed_flowsattributed_flow, flow_attributions, flow_attributionFlows joined with host process context (and optional public VIP owner)
public_endpoints—Kubernetes public VIP / Gateway ownership inventory (current snapshot)
websiteswebsite, web_properties, web_propertyL7 web property inventory (canonical origin, edge provider, TLS posture, RUM settings). Kept separate from devices. Requires devices.view.
rumrum_beacons, rum_beaconBoomerang Real User Monitoring beacons. Read from StarRocks when it is enabled, otherwise from CNPG. Requires observability.metrics.view.
camera_sourcescamera_source, cameras, cameraCamera inventory with availability and viewable stream profiles. Requires devices.view.
servicesserviceObserved services and their availability
gatewaysgatewayGateway/agent operational state
addon_statusesaddon_statusObserved native add-on reports. Requires devices.view.
addon_fleetaddon_fleetsNative add-on assignments, observed health, freshness and version drift per agent. Requires devices.view.
plugin_fleetplugin_fleetsWASM plugin assignments and current runtime evidence, one row per owner of a plugin on a partition and agent. Requires plugins.view.
interfacesinterface, discovered_interfacesDiscovered network interfaces (time-series)
bmp_eventsbmp_event, bmp_routing_eventsBGP Monitoring Protocol (BMP) routing events
horizon_outagesHorizon internet outages (serviceradar.horizon_outages). StarRocks-only (:starrocks_required when StarRocks is disabled). Row listing only. Requires observability.events.view.
horizon_bgpHorizon BGP anomalies and watchlist events (serviceradar.horizon_bgp_events). StarRocks-only (:starrocks_required when StarRocks is disabled). Row listing only. Requires observability.events.view.
horizon_zombiesHorizon BGP zombie route episodes (serviceradar.horizon_bgp_zombies). StarRocks-only (:starrocks_required when StarRocks is disabled). Row listing only. Requires observability.events.view.
horizon_pathsHorizon path hop telemetry (serviceradar.horizon_path_hops). StarRocks-only (:starrocks_required when StarRocks is disabled). Row listing only. Requires observability.traces.view.
horizon_isp_accountabilityHourly per-ASN, per-target ISP accountability rollups (serviceradar.horizon_isp_accountability_mv, 1-minute async materialized view). StarRocks-only (:starrocks_required when StarRocks is disabled). Row listing only. Requires observability.events.view.
alertsalertGenerated alerts
cpu_metricscpuCPU utilization time-series
memory_metricsmemoryMemory utilization time-series
disk_metricsdiskDisk utilization time-series
process_metricsprocessesPer-process CPU/memory time-series
timeseries_metricstimeseriesGeneric time-series metrics (incl. SNMP)
timeseries_metric_interface_hourlytimeseries_metrics_interface_hourly, interface_metrics_hourlyHourly interface counter rollups keyed by device and if_index (configurable retention, default 395 days; see core.observabilityRetention.hourlyRollupDays)
timeseries_metric_disk_hourlytimeseries_metrics_disk_hourlyHourly sysmon.disk gauge rollups keyed by device and mount point (configurable retention, default 395 days; see core.observabilityRetention.hourlyRollupDays)
snmp_metricssnmpSNMP-collected metrics
netperf_metricsnetperfactive network performance metrics (shares the time-series schema)
otel_metricsmetricsOpenTelemetry span-derived metrics
tracesotel_traces, trace_spansOpenTelemetry trace spans
otel_trace_summariestrace_summaries, traces_summariesOne row per trace. service_name matches any participating span (service_set).
otel_services—Catalog of OTel service.name values that reported logs, traces or metrics (not monitored service checks; see services). Requires at least one of observability.logs.view, observability.traces.view, observability.metrics.view.
composite_resultscomposite_check_results, composite_verdictsComposite-check evaluations. Row queries return per-device verdicts; stats:count() groups by check / verdict / vantage (input_*).
endpoint_packagesendpoint_package, packages, endpoint_inventoryCurrent and historical endpoint software inventory (installed packages, CPE arrays)
vulnerability_advisoriesadvisories, cves, vulnerability_advisoryNVD/KEV advisory catalog. Default current:true.
advisory_coordinatesadvisory_cpes, cpe_coordinatesPer-advisory CPE/PURL rows with version bounds. Not an alias of cpes.
endpoint_vulnerability_assessmentsendpoint_vulnerability_assessment, package_vulnerabilities, endpoint_vulnerability_matches, vulnerability_matches, cve_matches, advisory_matchesStable device/package/CVE assessments, including candidates and resolved history.

The engine also exposes specialized entities — device graph (device_graph), topology graph (graph, alias graph_dql), device updates (device_updates), Wi-Fi site mapping (wifi_sites, wifi_access_points, …), virtualization (virtualization_hosts, virtualization_guests, …), and field-survey datasets. They use the same key:value grammar described above.

Both graph entities read the Dgraph topology graph. in:graph dql:"..." takes a read-only DQL query string rather than field filters and refuses mutations. in:device_graph device_id:"..." returns one device, its interfaces, and the peer interfaces its current CONNECTS_TO evidence reaches; include_topology:false omits the interfaces. The topology graph holds no collector, service or capability vertices, so those arrays are empty and collector_owned:true is refused. in:graph selected the device neighborhood in earlier releases; that entity is now reachable only as in:device_graph.

The query bar, the query API and MCP run both entities against Dgraph, the same as the standalone Rust engine; neither is SQL. They need the Dgraph connection (DGRAPH_URL, or DGRAPH_HOST): without it a query returns an error that names Dgraph, never an empty result. Their results are not paginated.

in:graph_cypher (openCypher against Apache AGE) was retired with AGE and now returns an error that names in:graph as its replacement.

Filterable fields by entity​

Each subsection lists the fields you can filter and sort on for that entity. The subsection heading matches the in: name used to select the entity.

agents​

Agent certificate fields​

For in:agents, these nullable certificate fields support filtering and sorting:

FieldFilter/sort aliasesMeaning
cert_not_beforeCertificate validity start
cert_expires_atcert_not_afterCertificate expiration
cert_serialcert_serial_numberCertificate serial number
cert_fingerprint_sha256cert_fingerprintSHA-256 certificate fingerprint
cert_renewed_atcert_last_renewed_atTime a replacement certificate was observed

Use the canonical field names when reading query results. Timestamp filters accept now, absolute UTC timestamps, or signed durations using s, m, h, d, w, and y (365 days). A positive duration means now plus the duration; a negative duration means now minus it. These comparisons differ from a historical time:last_7d window.

in:agents cert_expires_at:<7d sort:cert_expires_at:asc
in:agents cert_expires_at:<=0d
in:agents cert_expires_at:>0d cert_expires_at:<=7d
in:agents cert_renewed_at:>-7d

The first query includes already expired certificates; the third restricts the results to certificates still valid and expiring within seven days. Missing certificate timestamps do not match these comparisons. Superseded identities remain excluded by default. See certificate operations for issuance policy and alert handling.

devices​

FieldAliasesDescription
device_iduidUnique device identifier
hostnameDevice hostname (supports wildcards)
ipIP address — supports wildcards, CIDR (10.0.0.0/8), and ranges (10.0.0.10-10.0.0.50)
macMAC address (normalized; supports wildcards)
gateway_idgatewayAssociated gateway ID
agent_idAssociated agent ID
typedevice_typeDevice type
type_idNumeric device type ID
vendor_namevendorDevice vendor
modelDevice model
risk_levelriskRisk classification
is_availableavailableLast decided availability (true/false). Never null: a device whose state is unknown keeps its last decided value.
availabilityCanonical merged availability: available, unavailable or unknown. The only field that reports unknown.
availability_sourceSource kind that decided the state, e.g. agent_probe, wifi_map
availability_classAuthority class that decided the state: operator_policy, self_report, managing_controller, active_probe, passive_observation, inventory_declared
agent_reachabilityFresh probing agents (negative controls excluded): all reach the device, partial (some do, some do not), none (probed, none reach it)
availability_policyNegative-control agents: violation (an agent expected to be blocked reaches the device), verified (a block is verified), inconclusive (an expected block has no fresh result)
available_from_agent / unavailable_from_agentThe named agent's latest per-agent result is reachable / unreachable
is_activeactiveLifecycle state (true/false)
discovery_sourcesSources that discovered the device (array; list form)
first_seenfirst_seen_timeWhen the device was first added. Accepts the same window tokens as time: (last_7d, last_30d, today, [start,end]). This does not change time:, which still filters last_seen_time.
tagsDevice tags (JSONB map). Bare tags:<key> tests whether the key exists; list form tags:(a,b) matches any of them. Sub-key form: tags.<key>:<value>
metadata.<key>Match an arbitrary metadata key, e.g. metadata.integration_type:armis
cvecve_idDevice has an active, confirmed, affected assessment for this CVE (EXISTS). Case-insensitive.
kevDevice has an active, confirmed, affected KEV assessment (true/false)
source_retiredRecord is marked source_retired (true/false); see the control tokens below. Replaces the default that hides marked records.

Sortable fields include availability, hostname, ip, first_seen / first_seen_time, last_seen / last_seen_time, and type_id. Without a sort: clause devices are ordered by availability (available, then unavailable, then unknown), then by IP, then by uid. Rows also return availability_decided_by, availability_changed_at, availability_conflict, availability_agents, agents_up, and agents_total (those two counters are 0 when absent). rollup_stats:inventory_summary reports available, unavailable, and unknown from the device_inventory_counts keys of those names; a missing key is 0. There is no cpe filter on in:devices; query in:endpoint_packages or in:cve_matches.

Control tokens: include_inactive:true returns devices regardless of lifecycle state; include_deleted:true includes soft-deleted records and records marked source_retired; include_retired:true includes records marked source_retired.

A record is marked source_retired when its source retired every id it held and nothing else identifies it. Device queries and counts hide a marked record until it is deleted after a grace period, unless the query asks for it with include_retired:true, include_deleted:true or a source_retired: filter. A deleted: filter does not show marked records.

events​

FieldAliasesDescription
idEvent identifier
device_iduid, device_uid, source_device_uidAssociated device
class_uidOCSF class UID
category_uidOCSF category UID
type_uidOCSF type UID
activity_idActivity ID
activity_nameActivity name
severity_idNumeric severity ID
severitySeverity label
messageshort_messageEvent message
log_nameLog name or subject
log_providerLog provider
log_levelLog level
statusStatus label
status_idNumeric status ID
status_codeStatus code
status_detailStatus detail
trace_idOpenTelemetry trace ID
span_idOpenTelemetry span ID

Sortable fields: time (aliases event_timestamp, timestamp).

security_events​

in:security_events reads the control-plane security log behind Settings -> Audit -> Events. It requires settings.audit.view; permission to read OCSF events or security_findings does not grant access.

Filters: kind, severity, actor_id, ip, route, correlation_id, id, and search. Dedicated fields support equality, lists and % wildcards. search matches a literal, case-insensitive substring across actor ID, IP, route and correlation ID. Lists match any of the search terms; negation excludes all matching terms. The builder offers equality and inequality for literal search. Details are returned but cannot be searched or sorted. Severity values are info, warning and critical; the catalog publishes the current kind vocabulary.

The default time window is the last 24 hours. Results default to occurred_at DESC, id DESC; explicit sorts also include an ID tie-breaker. Limits and SRQL cursors follow the standard bounded pagination contract.

in:security_events time:last_7d kind:login_failed severity:critical limit:25
in:security_events ip:192.0.2.8 route:/login time:last_24h
in:security_events search:invented-correlation limit:25

The Settings page displays 25 rows per page using timestamp/ID keyset cursors. Filters survive paging; changing filters or clearing them returns to page 1. Page 1 refreshes from storage on live notifications, so delayed or duplicate notifications preserve ordering. Older pages pause live updates. Relative time windows move with the current time; custom From/To values use UTC. Clear all restores the last-24-hours window. Neither the page nor SRQL computes a total count or loads the whole event set.

logs​

FieldAliasesDescription
idLog record identifier
device_iduid, source_device_uidAssociated device. Matches inventory uid/hostname/IP against log attributes and source_ip (syslog emitter IP).
gateway_idAssociated gateway ID
agent_idAssociated agent ID
trace_idOpenTelemetry trace ID
span_idOpenTelemetry span ID
service_nameserviceEmitting service
service_versionService version
service_instanceService instance identifier
sourceLog source
source_ipEmitter IP (syslog _remote_addr / source_ip)
scope_nameInstrumentation scope name
scope_versionInstrumentation scope version
severity_textseverity, levelSeverity text (e.g. error, warn)
severity_numberNumeric severity
bodymessageLog message body

Sortable fields: timestamp, severity_number.

threat_intel_matches​

Current AlienVault OTX (and other IP/CIDR feed) matches. One row is one endpoint-to-indicator membership. evaluated_at is cache lookup time, not flow observation time. indicator_match_count is how many indicator CIDRs contain that endpoint, not how many flows hit it.

FieldNotes
observed_ip / ipCached endpoint
sourceFeed source (alienvault_otx, …)
indicatorCIDR or IP
severityInteger comparison
stale:trueExpired cache/indicator rows, labeled rather than mixed into the default

Default sort: evaluated_at DESC, observed_ip, indicator_id. Default query excludes expired rows.

in:threat_intel_matches source:alienvault_otx sort:evaluated_at:desc limit:100

flows​

FieldAliasesDescription
device_idAssociated device
src_endpoint_ipsrc_ipSource IP (supports wildcards)
dst_endpoint_ipdst_ipDestination IP (supports wildcards)
ipendpoint_ipMatches either endpoint — all traffic to or from an address
cidrMatches flows with either endpoint inside a CIDR block
conversation_a_ipconversation_min_ipCanonical first endpoint for bidirectional conversation grouping
conversation_b_ipconversation_max_ipCanonical second endpoint for bidirectional conversation grouping
src_cidrSource CIDR containment match
dst_cidrDestination CIDR containment match
src_endpoint_portsrc_portSource port
dst_endpoint_portdst_portDestination port
portendpoint_portMatches either endpoint port — e.g. port:22 for SSH regardless of direction
threat_matchedLive cache match on either flow endpoint. Interactive queries default to time:last_24h
threat_sourceFeed source on the live cache row
threat_indicatorIP or CIDR of the matching indicator
threat_observed_ipSpecific cached endpoint IP
threat_severityCompare live max_severity
protocol_nameProtocol name
protocol_numprotoProtocol number
protocol_groupproto_groupProtocol group
directionFlow direction
direction_labelFlow direction label
dst_service_labelDestination service label
flow_sourcecollectorExporter protocol (NetFlow v5, NetFlow v9, IPFIX, sFlow v5)
appDerived application classification label
sampler_addressFlow exporter / sampler address
exporter_nameResolved exporter name
in_if_nameIngress interface name
out_if_nameEgress interface name
in_if_speed_bpsIngress interface speed (bps)
out_if_speed_bpsEgress interface speed (bps)

Sortable fields: time, bytes_total, packets_total, bytes_in, bytes_out, packets_in, packets_out.

Examples:

in:flows time:last_24h port:22 sort:time:desc limit:50
in:flows time:last_24h ip:198.51.100.10 sort:time:desc limit:50
in:flows time:last_1h dst_port:(443,8443)

Do not write (dst_port:22 OR src_port:22) — use port:22 instead.

attributed_flows​

NetFlow rows that have been joined with host process attribution (netprobe) and, when applicable, Kubernetes public VIP / Gateway ownership. Prefer this entity when you need process, pod, or public-endpoint owner fields in the UI.

Row queries for both in:flows and in:attributed_flows return attribution directly from StarRocks ocsf_network_activity columns, including partition, agent_id, uid, container_id, and public_endpoint. Flow Details reads these columns; there is no ocsf_payload.attribution fallback. Existing rows with stored attribution need no backfill to display it.

FieldAliasesDescription
(all core flows endpoint fields)src_ip, dst_ip, ip, port, src_port, dst_port, protocol_*, …
attribution_statusstatusattributed (has process pid) or unmatched
processprocess_name, commProcess name from host socket join
pidprocess_pidProcess id
cmdlineredacted_cmdlineRedacted command line
uidProcess uid
container_idContainer id when known
agent_idHost agent that reported the process
pod_nameWorkload identity pod name
pod_namespacenamespaceWorkload identity namespace
container_nameContainer name
imageimage_refContainer image
service_namepublic_endpoint_service, k8s_servicePublic endpoint Service / route target name
gateway_namepublic_endpoint_gatewayGateway API gateway name
exposure_classpublic_endpoint_classe.g. Gateway, LoadBalancer
route_namepublic_endpoint_routeHTTPRoute / GRPCRoute name
public_endpoint_namespaceNamespace of the public endpoint owner

Sortable fields: same as flows (time, byte/packet totals).

Examples:

in:attributed_flows time:last_24h ip:198.51.100.10 sort:time:desc limit:50
in:attributed_flows time:last_24h service_name:serviceradar-web sort:time:desc limit:50
in:attributed_flows time:last_24h port:22 sort:time:desc limit:50
in:attributed_flows time:last_1h attribution_status:attributed process:sshd

Raw vs attributed: in:flows port:22 can return hundreds of SSH 5-tuples while in:attributed_flows port:22 is empty if no host process join landed on those sockets. Public VIP ownership (service_name:, exposure_class:) only appears after the central correlator populates the public_endpoint column.

public_endpoints​

Current Kubernetes public VIP inventory (LoadBalancer / Gateway / ExternalIP). Not a time-series entity — omit or ignore time: for inventory scans.

FieldAliasesDescription
ipPublic VIP address
hostnameHostname if recorded
portListener port
protocole.g. TCP
namespaceKubernetes namespace
cluster_idCluster id
exposure_classGateway, LoadBalancer, …
service_nameService or route backend name
gateway_nameGateway name
route_nameRoute name

Examples:

in:public_endpoints port:22 limit:50
in:public_endpoints exposure_class:Gateway sort:ip:asc
in:public_endpoints ip:198.51.100.10

camera_sources​

Camera inventory for relay viewing: each camera's owning device, availability and the relay-eligible stream profiles a viewer can open through the dashboard camera API. source_url, per-profile source_url_override, and metadata are never returned. RTSP URLs often embed credentials, and the relay opens the upstream stream on the agent, so a viewer never needs them. Filtering or sorting on those fields is rejected. Not a time-series entity; time: filters on updated_at.

FieldAliasesDescription
display_namenameCamera display name
vendorCamera vendor, e.g. ubiquiti, axis
vendor_camera_idcamera_idVendor-side camera identifier
device_uiddevice_id, uidOwning device
availability_statusavailability, statuse.g. available, unavailable
assigned_agent_idagent_idAgent that pulls the stream
assigned_gateway_idgateway_idLast known gateway on the relay path; a hint, since opening a relay resolves the agent's live gateway
last_event_typeType of the camera's last event
viewablerelay_eligible, has_viewable_profiletrue for cameras with at least one relay-eligible profile

Each row carries stream_profiles: a list of {id, profile_name, vendor_profile_id, codec_hint, container_hint, rtsp_transport, last_seen_at} for relay-eligible profiles only.

Examples:

in:camera_sources viewable:true sort:display_name:asc
in:camera_sources availability:available vendor:ubiquiti
in:cameras device_uid:(dev-a,dev-b)

services​

FieldAliasesDescription
service_namenameService name
service_iduidService identifier
service_typetypeService type
gateway_idAssociated gateway ID
agent_idAssociated agent ID
partitionPartition identifier
messageStatus message
availableAvailability (true/false)

Sortable fields: timestamp / last_seen, service_name / name, service_type / type.

gateways​

FieldDescription
gateway_idGateway identifier
statusGateway status
component_idComponent identifier
registration_sourceRegistration source
spiffe_identitySPIFFE identity
created_byCreator identifier
is_healthyHealth status (true/false)

Sortable fields: last_seen, first_seen, first_registered, gateway_id, status, agent_count, checker_count, updated_at.

interfaces​

Interface observations are stored as time-series data. Use latest:true to return the most recent record per interface.

FieldAliasesDescription
device_idDevice identifier
device_ipipDevice IP address
interface_uidStable interface identifier (per device)
gateway_idAssociated gateway ID
agent_idAssociated agent ID
if_nameInterface name
if_descrdescriptionInterface description
if_aliasInterface alias
if_indexInterface index (ifIndex)
if_typeInterface type identifier (ifType)
if_type_nameInterface type (human-readable)
interface_kindClassification (physical, virtual, loopback, tunnel, …)
if_phys_addressmacPhysical (MAC) address
if_admin_statusadmin_statusAdministrative status
if_oper_statusoper_status, statusOperational status
if_speedspeed, speed_bpsInterface speed
mtuInterface MTU
duplexInterface duplex
ip_addressesip_addressIP addresses assigned to the interface (list form)

Sortable fields: timestamp, device_ip, device_id, interface_uid, if_name, if_descr, if_index, if_type, if_type_name, interface_kind, speed_bps, mtu.

bmp_events​

in:bmp_events is how you query BGP routing data — peer events and prefix advertisements collected via the BGP Monitoring Protocol (BMP).

FieldDescription
idEvent identifier
event_typeBMP event type
router_idReporting router ID
router_ipReporting router IP
peer_ipBGP peer IP
peer_asnBGP peer ASN (numeric)
local_asnLocal ASN (numeric)
prefixAdvertised/withdrawn prefix
messageEvent message
raw_dataRaw event payload
severity_idNumeric severity ID

Sortable fields: time (aliases event_timestamp, timestamp), created_at, severity_id.

horizon_outages​

StarRocks-only (serviceradar.horizon_outages). Requires StarRocks enabled (:starrocks_required when disabled) and observability.events.view. Canonical name only (no aliases). Row listing only: stats:, rollup_stats:, bucket:, and other:true are rejected. time: filters time.

FieldType / OperatorsDescription
outage_idtext (=, !=, %, list)Outage identifier
statustext (=, !=, %, list)Outage status (e.g. active, resolved)
severitytext (=, !=, %, list)Outage severity (e.g. warning, major)
entity_typetext (=, !=, %, list)Affected entity type (e.g. asn, prefix)
entity_keytext (=, !=, %, list)Affected entity key
regiontext (=, !=, %, list)Affected region
covering_prefixtext (=, !=, %, list)Covering IP prefix
origin_asninteger (=, !=, >, >=, <, <=, list)Affected origin ASN
corroborating_pop_countinteger (=, !=, >, >=, <, <=, list)Number of corroborating PoPs
avg_forwarding_loss_pctfloat (=, !=, >, >=, <, <=)Average forwarding loss percentage
avg_synthetic_failure_pctfloat (=, !=, >, >=, <, <=)Average synthetic failure percentage

Sortable fields: time (default, descending), severity, status, corroborating_pop_count, avg_forwarding_loss_pct. Unsupported sort fields are rejected.

in:horizon_outages status:active covering_prefix:198.51.100.0/24 origin_asn:64512 time:last_24h sort:time:desc limit:25

horizon_bgp​

StarRocks-only (serviceradar.horizon_bgp_events). Requires StarRocks enabled (:starrocks_required when disabled) and observability.events.view. Canonical name only (no aliases). Row listing only: stats:, rollup_stats:, bucket:, and other:true are rejected. time: filters time.

FieldType / OperatorsDescription
event_idtext (=, !=, %, list)BGP event identifier
kindtext (=, !=, %, list)Event kind (e.g. hijack, watchlist)
leveltext (=, !=, %, list)Severity level (e.g. warning, critical)
prefixtext (=, !=, %, list)Observed or covering IP prefix
origin_asninteger (=, !=, >, >=, <, <=, list)Origin ASN
rpki_statustext (=, !=, %, list)RPKI validation status
caida_leak_inferencetext (=, !=, %, list)Route-leak inference classification
watchlist_idtext (=, !=, %, list)Matching watchlist identifier
client_labeltext (=, !=, %, list)Watchlist label

Sortable fields: time (default, descending), kind, level, origin_asn. Unsupported sort fields are rejected.

in:horizon_bgp kind:(hijack,watchlist) prefix:198.51.100.0/24 origin_asn:64512 time:last_24h

horizon_zombies​

StarRocks-only (serviceradar.horizon_bgp_zombies). Requires StarRocks enabled (:starrocks_required when disabled) and observability.events.view. Canonical name only (no aliases). Row listing only: stats:, rollup_stats:, bucket:, and other:true are rejected. time: filters time.

FieldType / OperatorsDescription
episode_idtext (=, !=, %, list)Zombie route episode identifier
statustext (=, !=, %, list)Episode status (e.g. active, resolved)
prefixtext (=, !=, %, list)Affected IP prefix
origin_asninteger (=, !=, >, >=, <, <=, list)Origin ASN
divergence_pctfloat (=, !=, >, >=, <, <=)Peer divergence percentage
is_beaconboolean (=, !=)Whether the prefix is a beacon

Sortable fields: time (default, descending), status, divergence_pct, first_seen_at. Unsupported sort fields are rejected.

in:horizon_zombies status:active is_beacon:false divergence_pct:>=25 time:last_24h

horizon_paths​

StarRocks-only (serviceradar.horizon_path_hops). Requires StarRocks enabled (:starrocks_required when disabled) and observability.traces.view. Canonical name only (no aliases). Row listing only: stats:, rollup_stats:, bucket:, and other:true are rejected. time: filters time.

FieldType / OperatorsDescription
round_idtext (=, !=, %, list)Probe round identifier
target_idtext (=, !=, %, list)Probe target identifier
pop_idtext (=, !=, %, list)Vantage PoP identifier
hop_ttlinteger (=, !=, >, >=, <, <=, list)Hop TTL position
hop_iptext (=, !=, %, list)Hop IP address
router_alias_idtext (=, !=, %, list)Resolved router alias identifier
asninteger (=, !=, >, >=, <, <=, list)Hop ASN
as_orgtext (=, !=, %, list)Hop AS organization
is_cloudboolean (=, !=)Whether the hop is in a cloud network
cloud_providertext (=, !=, %, list)Cloud provider name
cloud_regiontext (=, !=, %, list)Cloud region
forwarding_loss_pctfloat (=, !=, >, >=, <, <=)Forwarding loss percentage
avg_rtt_msfloat (=, !=, >, >=, <, <=)Average round-trip time in ms
mtu_blackhole_detectedboolean (=, !=)Whether an MTU blackhole was detected

Sortable fields: time (default, descending), hop_ttl, forwarding_loss_pct, avg_rtt_ms. Unsupported sort fields are rejected.

in:horizon_paths target_id:tgt-1 pop_id:pop-a mtu_blackhole_detected:false time:last_24h sort:hop_ttl:asc

horizon_isp_accountability​

StarRocks-only (serviceradar.horizon_isp_accountability_mv, a day-partitioned async materialized view refreshed every 1 minute from horizon_path_hops with hourly per-ASN counts from horizon_outages, horizon_bgp_events, and horizon_bgp_zombies). Requires StarRocks enabled (:starrocks_required when disabled) and observability.events.view. Canonical name only (no aliases). Row listing only: stats:, rollup_stats:, bucket:, and other:true are rejected. time: filters bucket_hour and emits matching day partition bounds for StarRocks partition pruning.

FieldType / OperatorsDescription
asninteger (=, !=, >, >=, <, <=, list)Hop ASN (0 when unassigned)
as_orgtext (=, !=, %, list)Hop AS organization ("" when unassigned)
target_idtext (=, !=, %, list)Probe target identifier
forwarding_loss_pctfloat (=, !=, >, >=, <, <=)Hourly average forwarding loss percentage
avg_rtt_msfloat (=, !=, >, >=, <, <=)Hourly average round-trip time in ms
max_rtt_msfloat (=, !=, >, >=, <, <=)Hourly maximum round-trip time in ms
mtu_blackhole_countinteger (=, !=, >, >=, <, <=, list)Hop samples with an MTU blackhole detected
min_effective_mtuinteger (=, !=, >, >=, <, <=, list)Minimum positive effective path MTU observed in the hour
active_outage_countinteger (=, !=, >, >=, <, <=, list)Distinct active (non-resolved/non-cleared) outages for the ASN in the hour
bgp_anomaly_countinteger (=, !=, >, >=, <, <=, list)Distinct BGP events for the ASN in the hour
bgp_zombie_countinteger (=, !=, >, >=, <, <=, list)Distinct active (non-resolved/non-cleared) BGP zombie episodes for the ASN in the hour
first_blame_tiertext (=, !=, %, list)Precedence-ranked blame tier (bgp_hijack, bgp_route_leak, bgp_anomaly, bgp_zombie, active_outage, pmtud_blackhole, customer_lan, isp_transit, healthy)
sample_countinteger (=, !=, >, >=, <, <=, list)Hop sample count in the hourly rollup

Sortable fields: bucket_hour (default, descending; time aliases bucket_hour), day, asn, as_org, target_id, forwarding_loss_pct, avg_rtt_ms, max_rtt_ms, mtu_blackhole_count, min_effective_mtu, active_outage_count, bgp_anomaly_count, bgp_zombie_count, first_blame_tier, sample_count. Unsupported sort fields are rejected.

in:horizon_isp_accountability asn:64512 target_id:tgt-1 first_blame_tier:isp_transit time:last_24h sort:forwarding_loss_pct:desc limit:25

alerts​

FieldDescription
idAlert identifier
titleAlert title
descriptionAlert description
severityAlert severity
statusAlert status
source_typeSource type
source_idSource identifier
device_uidAssociated device
agent_uidAssociated agent
metric_nameMetric that triggered the alert
comparisonComparison operator used
acknowledged_byWho acknowledged the alert
resolved_byWho resolved the alert
escalation_reasonEscalation reason

Sortable fields: triggered_at / timestamp, severity, status, title.

cpu_metrics​

FieldDescription
gateway_idAssociated gateway ID
agent_idAssociated agent ID
host_idHost identifier
device_idDevice identifier
partitionPartition identifier
clusterCluster name
labelLabel
core_idCPU core identifier
usage_percentCPU usage percentage
frequency_hzCPU frequency in Hz

Sortable fields: timestamp, usage_percent, gateway_id, device_id, host_id, partition, core_id.

memory_metrics​

FieldDescription
gateway_idAssociated gateway ID
agent_idAssociated agent ID
host_idHost identifier
device_idDevice identifier
partitionPartition identifier
usage_percentMemory usage percentage
total_bytesTotal memory in bytes
used_bytesUsed memory in bytes
available_bytesAvailable memory in bytes

Sortable fields: timestamp, usage_percent, gateway_id, device_id, host_id.

disk_metrics​

FieldDescription
gateway_idAssociated gateway ID
agent_idAssociated agent ID
host_idHost identifier
device_idDevice identifier
partitionPartition identifier
mount_pointFilesystem mount point
device_nameDevice name
usage_percentDisk usage percentage
total_bytesTotal disk space in bytes
used_bytesUsed disk space in bytes
available_bytesAvailable disk space in bytes

Sortable fields: timestamp, usage_percent, gateway_id, device_id, host_id, mount_point.

process_metrics​

FieldDescription
gateway_idAssociated gateway ID
agent_idAssociated agent ID
host_idHost identifier
device_idDevice identifier
partitionPartition identifier
pidProcess ID
nameProcess name
statusProcess status
start_timeProcess start time
cpu_usageProcess CPU usage
memory_usageProcess memory usage

Sortable fields: timestamp, cpu_usage, memory_usage, pid, name.

timeseries_metrics​

in:timeseries_metrics (and the snmp_metrics / netperf aliases that share this schema) cover generic time-series data, including SNMP counters.

FieldDescription
gateway_idAssociated gateway ID
agent_idAssociated agent ID
metric_nameName of the metric
metric_typeType of metric
device_idDevice identifier
target_device_ipTarget device IP address
partitionPartition identifier
if_indexInterface index
valueMetric value

Sortable fields: timestamp, gateway_id, metric_name, metric_type, device_id, value.

timeseries_metric_disk_hourly​

in:timeseries_metric_disk_hourly reads the hourly continuous aggregate of sysmon.disk gauges. Each row is one (device, series, mount point) bucket, so a filling data volume is not averaged into its host's other filesystems. Rows are kept for the configured retention (default 395 days; operator-configurable via core.observabilityRetention.hourlyRollupDays); time: bounds match whole hourly buckets. The entity returns rows only: stats:, bucket: and agg: are rejected.

FieldDescription
device_idDevice identifier
metric_typeMetric type (sysmon.disk)
metric_nameMetric name, e.g. disk.used_percent
series_keyCanonical series key of the rolled-up samples
mount_pointFilesystem mount point from the sample tags
avg_valueHourly mean of the gauge
min_valueHourly minimum
max_valueHourly maximum
sample_countSamples in the bucket

Sortable fields: bucket (also timestamp), device_id, metric_type, metric_name, series_key, mount_point, avg_value, min_value, max_value, sample_count. Default order is bucket descending.

in:timeseries_metric_disk_hourly metric_name:"disk.used_percent" device_id:"sr:host01" time:last_30d sort:bucket:asc

otel_metrics​

FieldAliasesDescription
trace_idOpenTelemetry trace ID
span_idSpan identifier
service_nameserviceEmitting service
span_nameSpan name
span_kindSpan kind
metric_typetypeMetric type
componentComponent name
levelLevel
http_methodHTTP method
http_routeHTTP route
http_status_codeHTTP status code
grpc_servicegRPC service name
grpc_methodgRPC method name
grpc_status_codegRPC status code
is_slowSlow-request flag (true/false)

Sortable fields: timestamp, service_name / service, metric_type / type, duration_ms.

traces​

FieldAliasesDescription
trace_idOpenTelemetry trace ID
span_idSpan identifier
parent_span_idParent span identifier
service_nameEmitting service
service_versionService version
service_instanceService instance identifier
scope_nameInstrumentation scope name
scope_versionInstrumentation scope version
namespan_nameSpan name
status_messageStatus message
status_codeNumeric status code
kindspan_kindSpan kind (integer)

Sortable fields: timestamp, start_time_unix_nano, end_time_unix_nano, service_name.

otel_trace_summaries​

service_name matches a trace when any participating span (service_set) has that service, not only the root span. Use an exact name (service_name:checkout) or a list (service_name:(checkout,cart)); !service_name: also matches traces with no recorded service set. % wildcards are rejected on this field; use root_service_name for pattern matches.

otel_services​

in:otel_services reads the service catalog that EventWriter maintains from persisted logs, traces and metrics. It is best-effort and throttled, and entries expire after 30 days without activity. The daily prune also removes any entry whose name is a bare timestamp. The catalog is CNPG state in every storage mode.

FieldDescription
service_nameService name; supports % wildcards
signallogs, traces or metrics; a list is allowed, a repeated or negated signal: is rejected

Rows carry signals and per-signal last-seen timestamps (logs_last_seen, traces_last_seen, metrics_last_seen) plus last_seen. All of them are derived only from the signals the caller may view: without signal: the query covers every permitted signal, and requesting a signal the caller cannot view is forbidden (403). Sortable fields: service_name, last_seen (default, descending). The default limit is 50 and the maximum is 500. stats:"count() as total" is the only aggregation.

in:otel_services signal:traces service_name:%pay% sort:last_seen:desc limit:50

websites​

FieldAliasesDescription
idWeb property UUID
nameDisplay name
canonical_originoriginCanonical origin URL
environmentenvproduction, staging, development or internal
edge_providerproviderakamai, cloudflare, fastly, cloudfront, envoy_gateway or direct
tls_issuerObserved certificate issuer
rum_enabled / anonymize_client_ipBooleans
allowed_originsallowed_originArray; matches any element
observed_vipsvipArray of observed VIP addresses; matches any element
tag / tags.<key>tagsTag key presence, or the value of one tag key
tls_not_after / last_posture_checked_at / created_atTimestamps
updated_attimeLast update (default time: field)

Sortable fields: name (default, ascending), canonical_origin, environment, edge_provider, rum_enabled, tls_not_after, last_posture_checked_at, created_at, updated_at.

in:websites edge_provider:akamai rum_enabled:true sort:name:asc

rum​

in:rum returns one row per Boomerang beacon. The filter, sort and stats: vocabulary is the same on CNPG and StarRocks.

FieldDescription
web_property_id, beacon_id, canonical_origin, environmentBeacon identity and owning web property
url, host, path, metric_path, referrer, page_group, initiatorPage context; metric_path is the normalized path used for grouping
trace_id, span_id, session_idCorrelation identifiers
device_type, browser, osClient classification
cdn_provider, cdn_cache_status, cdn_popCDN enrichment (Akamai Server-Timing)
client_ip, country, region, city, as_org, prefix_tagClient network and geo enrichment
has_error, client_ip_anonymizedBooleans
lcp_ms, inp_ms, cls, fcp_ms, ttfb_ms, page_load_ms, dns_ms, connect_ms, tls_ms, dom_ready_ms, cdn_edge_rtt_ms, cdn_origin_rtt_msTimings; support numeric comparisons
rage_clicks, js_errors, http_status, asnInteger counters; support numeric comparisons
observed_atBeacon time (time: field; aliases time, timestamp)

Sortable fields: observed_at (default, descending), created_at, the Core Web Vitals and timing fields, http_status, js_errors, rage_clicks, cdn_edge_rtt_ms and cdn_origin_rtt_ms. stats: accepts count(), sum, avg, min, max and p75 over the timing and counter fields (plus has_error), grouped by page, client, CDN or geo fields or by time:<duration>. bucket:, rollup_stats: and other:true are refused.

in:rum time:last_24h stats:"p75(lcp_ms) as p75_lcp by metric_path"

endpoint_packages​

FieldAliasesDescription
device_uiddevice_idHost that has the package
namepackagePackage name
versionInstalled version
package_managermanagerPackage manager (dpkg, rpm, …)
purl_canonicalcanonical_purl, purlCanonical PURL
cpecpesInstalled CPE array overlap (not NVD version matching)
cvecve_idPackage has an active, confirmed, affected assessment for this CVE on the same device (EXISTS)
kevPackage has an active, confirmed, affected KEV assessment on the same device
currentCurrent inventory row (true/false)

rollup_stats:current_counts and rollup_stats:current_cpe_counts read maintained count tables, not ad hoc GROUP BY.

vulnerability_advisories​

FieldAliasesDescription
cvecve_idCVE identifier (uppercased on equality)
advisory_idSource advisory id
providerFeed provider
feed_keyFeed key (nist-nvd2, cisa-kev, …)
severitySeverity label
cvss_scoreNumeric CVSS (supports >=, >)
kevListed in an enabled KEV feed
exploit_availableExploit available flag
currentCurrent generation (default true)
titleAdvisory title
cpe / cpe_vendor / cpe_productEXISTS against advisory_coordinates

time: filters published_at. Projection omits raw, affected_coordinates, and nvd_configurations. stats:count() groups by severity, kev, provider, feed_key, cve_id. No downsample / rollup_stats. Positive CPE component filters must match the same coordinate row. Negated CPE component filters exclude an advisory when any of its coordinates matches that component.

advisory_coordinates​

FieldAliasesDescription
cvecve_idJoined advisory CVE
coordinate_typecpe, purl, or vendor_product
valuecpe, cpesCoordinate string (ILIKE with %)
cpe_vendor / cpe_product / cpe_part / cpe_versionParsed CPE 2.3 components
advisory_refParent advisory UUID
kevJoined advisory KEV flag
currentJoined advisory is current (default true)

stats:count() requires a selective filter (CVE, vendor+product, or CPE value). Version-bound columns are returned; they are not evaluated against installed versions.

endpoint_vulnerability_assessments​

FieldAliasesDescription
device_uiddevice_idAssessed device
cvecve_idAssessed CVE
statusactive or resolved lifecycle state
assessmentconfirmed or candidate
dispositionaffected, fixed, not_affected, under_investigation, or unknown
authority / freshnessApplicability authority and evidence freshness
authority_generation / authority_as_ofAuthority audit generation and RFC 3339 as-of time; both support scalar comparisons
applicability_reasonExplanation for the current decision
package_name / installed_versionAssessed package and installed version
package_identity_key / source_scopeStable logical package identity and observation scope
package_namespace / package_releasenamespace, release, distroProvider namespace and release scope
package_purlpurl, purl_canonicalCanonical package URL captured by the assessment
fixed_versionProvider fixed boundary when known
kevKEV overlay
exploit_availableExploit flag
cvss_score / severityAggregated advisory priority
cpecoordinate_valueCorrelated raw match evidence, when present
advisory_refAdvisory UUID resolved through correlated raw-match or normalized assertion evidence
epss_score / due_date / ransomware_useLifted from assessment metadata
last_seen_atlast_seen, timeWhen the assessment was last confirmed (sort and time:). For an active assessment, the later of its last change and its device's latest matcher evaluation; for an assessment the matcher stopped producing (unconfirmed or resolved), its own time or the last confirmation recorded when it stopped being produced
last_changed_atlast_changedWhen the assessment row was last written: created, changed, resolved, or marked unconfirmed (sort only)

Row browsing returns confirmed, candidate, and resolved assessments unless explicitly filtered; it has no implicit active-only predicate. An unqualified assessment stats:count() counts those persisted audit/state rows and is not an exposure count. A row or count is actionable only when status:active, assessment:confirmed, and disposition:affected all hold. time: filters last_seen_at. The matcher rewrites an assessment only when its content changes and records one evaluation time per device per run, so an unchanged active assessment still reports the run that last confirmed it. An active assessment the latest run did not produce again but could not resolve (for example, it is waiting for a complete inventory scan) keeps its own time. Default sort puts actionable rows first, then KEV, exploit, CVSS, and last seen.

Error handling​

MessageCause / fix
queries must include an in:<entity> tokenAdd an in:<entity> selector.
unsupported entity '<x>'The entity name is not recognized. See Queryable entities.
unsupported filter fieldThe field is not valid for the chosen entity. Check Filterable fields by entity.
unsupported sort fieldThe sort field is not valid for the chosen entity. Check the entity's sortable fields under Filterable fields by entity.
unsupported time token / invalid time literalThe time: value is malformed. Use last_<n><unit>, today/yesterday, or [start,end].
time range cannot exceed <N> daysNarrow the window to that entity's cap: 90 days for most queries, 395 for aggregated metric queries, 400 for in:sweep_coverage.
invalid limit / limit must be a positive integerlimit: requires a positive integer.
expected scalar value / expected list valueOperator/value mismatch — e.g. a list value where a scalar is expected.
InvalidRequest on in:composite_results stats:Unsupported aggregation (only count()) or group field. See Composite-result stats.
advisory_coordinates stats require a selective filterAdd cve:, cpe_vendor+cpe_product, or a CPE value before stats:count().

See also​

Agent extension fleet queries​

Native add-ons and WASM plugins have separate entities. addon_fleet (alias addon_fleets) requires devices.view; plugin_fleet (alias plugin_fleets) requires plugins.view. Both execute scoped Ash reads. Translation returns a validated read_model plan with empty SQL; execute it through web-ng's query API, which also supports Arrow responses and signed cursor pagination. Direct execution through the standalone Rust query engine rejects fleet queries.

in:addon_fleet addon_id:example-collector assigned:true sort:agent_uid:asc
in:addon_fleet addon_id:example-collector category:action_required
in:addon_fleet addon_id:example-collector stale:true
in:addon_fleet addon_id:example-collector version_drift:true
in:plugin_fleet plugin_id:example-check enabled:true sort:partition_id:asc
in:plugin_fleet plugin_id:example-check category:action_required
in:plugin_fleet plugin_id:example-check partition_id:partition-a stale:true

Native fleet rows reuse the native fleet UI's health classification and include assigned package/version, observed state/version, active flag, degradation reason, report/health/scan timestamps, evidence age, rollout state, and reason code. Disabled native assignments are history, so a runtime without an enabled assignment has assigned:false. addon_statuses / addon_status retain their existing status-only behavior and newest-report ordering.

WASM fleet rows include partition, agent, plugin, package/version, assignment source/policy, enabled state, cadence, latest runtime evidence, and the reported result_status (OK, WARNING, CRITICAL, or UNKNOWN). One agent has one row per owner of a plugin: the newest enabled assignment of each credential rule, and one row for the shared manual or other non-rule owner when that assignment is enabled. An otherwise healthy runtime with a fresh warning requires action even when it reports availability. The join matches both partition and agent; legacy name-only evidence is used only for an unambiguous plugin name. Disabled assignments remain visible as expected_inactive, and identified runtimes without an assignment are observed_only. An enabled assignment whose package submits no scheduled results (an action-only:v1 package without action-result-ingest:v1) is expected_inactive with reason runtime_results_not_expected: the agent gives it no periodic runner, so older evidence is not a failing runtime. Assignment placeholders appear as pending or ready, with no result timestamp or inferred availability. They are never reported results.

stale compares native evidence age with the configured add-on freshness threshold (180 seconds by default). WASM evidence is stale after the greater of 180 seconds and three assignment intervals, using a 60-second interval for observed-only rows. stale describes evidence age independently of health category: package and rollout problems, disabled assignments, and observed-only runtimes can take classification precedence over stale evidence. Missing evidence has null timestamps and age and stale:false; it is not a fresh success. time: filters the last reported observation, excluding missing evidence. Omit time: when investigating assignments that have not reported.

For WASM results, reported_at uses the logical observation timestamp resolved by the existing plugin state contract, with the stored observation timestamp as its fallback. Reported-result markers must authenticate the snapshot identity, payload, and physical timestamp. Freshness and timestamp filters use the resolved observation time.

version_drift is null unless both desired and observed versions are known. WASM results do not currently carry a host-authored version; an explicitly reported package_version is shown when present, without inferring it from the assignment. assignment_drift compares a reported assignment ID with the current assignment. It is null when either ID is unknown; a known mismatch is drift. Evidence selection follows the per-assignment service identity contract. Otherwise healthy WASM results with known drift require action.

last_success_at and last_failure_at describe availability of the latest WASM result: available:true sets the former and available:false sets the latter. A warning can therefore have last_success_at set and category action_required. These fields do not scan historical telemetry. last_error is the standardized plugin_result_unavailable code for a failed latest result. Raw messages, result details, assignment params, permissions and resource overrides, and host-only credential material are excluded.

Fleet queries support equality, negation, list membership, text wildcards, numeric/timestamp comparisons, sorting, limits, and cursors. Null sort values come last; identity fields break ties for stable pagination. Stats, rollups, and downsampling fail explicitly.