Skip to main content
A host contains summaries of several observed services. A normal host query can be true when different services satisfy different clauses. Consider:
One HTTPS service on port 443 and a different service on port 8443 can satisfy that host query.

Use same_service

Wrap service conditions when they must describe one service:
Inside the wrapper, use service field names without the services. prefix.
You can combine the correlated service condition with host-level fields:

When the wrapper changes nothing

Each result in the services dataset already represents one service. same_service(...) is most useful in a hosts query, where the result can contain several service summaries.

DNS correlation

Each public DNS search result represents one DNS observation segment, so normal AND clauses already apply to that result. Cross-record same-name correlation requires a per-name summary index and is not currently exposed by the public DNS search endpoint.
Validate correlation queries with the dataset-first validation endpoint before saving or scheduling them.