We recommend constructing segments with a single Data (all types)
include block when possible. This gives you the most flexibility for using the segment in different scenarios.
Type
Applicable to
Data (all types)
Applicable to queries for any signal data type (such as fetch logs
), entities (such as smartscapeNodes "*"
, fetch dt.entity.host
), or data in other Grail-tables (such as fetch metric.series
).
Metrics
, Logs
, Spans
, etc.
Applicable to any query for the specific signal data type (such as fetch logs
).
Entities
Applicable to queries for entities (such as smartscapeNodes "*"
, fetch dt.entity.host
).
Host (dt.entity.host)
, etc.
Applicable to queries for classic entities of specified type (such as fetch dt.entity.host
).