You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to time-based routing, time series data streams use dimension-based routing to determine which shard to route data to. Documents with the same dimensions are routed to the same shards using one of two strategies:
61
+
In addition to time-based routing, time series data streams use dimension-based routing to determine which shard to route data to. Documents with the same dimensions are routed to the same shards, using one of two strategies:
62
62
63
-
1. Based on the internally managed `index.dimensions` index setting (preferred). Available as of stack version 9.2.
64
-
2. Based on the [`index.routing_path`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-routing-path) index setting (as a fallback).
63
+
**Index dimensions** {applies_to}`stack: ga 9.2` {applies_to}`serverless: all`
64
+
: Routing based on the internally managed `index.dimensions`setting.
65
65
66
-
The `index.dimensions`-based strategy offers a better ingest performance.
67
-
It uses a list of dimension paths that's automatically kept up-to-date and is not user-configurable.
68
-
This strategy is not available for time series data streams with dynamic templates that set `time_series_dimension: true`.
66
+
**Routing path**
67
+
: Routing based on the [`index.routing_path`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-routing-path) setting (as a fallback).
69
68
70
-
It can be disabled by setting [`index.index_dimensions_tsid_strategy_enabled`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-dimensions-tsid-strategy-enabled) to `false`,
71
-
or by manually setting `index.routing_path`.
69
+
The `index.dimensions`-based strategy offers better ingest performance. It uses a list of dimension paths that is automatically updated (and is not user-configurable). This strategy is not available for time series data streams with dynamic templates that set `time_series_dimension: true`.
72
70
73
-
The [`index.routing_path`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-routing-path) setting specifies the dimension fields to use for routing, for example:
71
+
To disable routing based on `index.dimensions`, set [`index.index_dimensions_tsid_strategy_enabled`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-dimensions-tsid-strategy-enabled) to `false`,
72
+
or manually set the [`index.routing_path`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-routing-path) to the dimensions you want to use:
0 commit comments