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.
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
+
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).
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`.
69
+
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`.
62
72
63
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:
0 commit comments