IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Time series index settings
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Time series index settings
editBacking indices in a time series data stream (TSDS) support the following index settings.
-
index.mode -
(Static, string) Mode for the index.
Valid values are
time_seriesandnull(no mode). Defaults tonull.
-
index.time_series.start_time -
(Static, string) Earliest
@timestampvalue (inclusive) accepted by the index. Only indices with anindex.modeoftime_seriessupport this setting. For more information, refer to Time-bound indices.
-
index.time_series.end_time -
(Dynamic, string) Latest
@timestampvalue (exclusive) accepted by the index. Only indices with anindex.modeoftime_seriessupport this setting. For more information, refer to Time-bound indices.
-
index.look_ahead_time -
(Static, time units)
Interval used to calculate the
index.time_series.end_timefor a TSDS’s write index. Defaults to2h(2 hours). Accepts1m(one minute) to7d(seven days). Only indices with anindex.modeoftime_seriessupport this setting. For more information, refer to Look-ahead time. Additionally this setting can not be less thantime_series.poll_intervalcluster setting.
Increasing the look_ahead_time will also increase the amount of time Index lifecycle management
waits before being able to proceed with executing the actions that expect the
index to not receive any writes anymore. For more information, refer to Time-bound indices.
-
index.look_back_time -
(Static, time units)
Interval used to calculate the
index.time_series.start_timefor a TSDS’s first backing index when a tsdb data stream is created. Defaults to2h(2 hours). Accepts1m(one minute) to7d(seven days). Only indices with anindex.modeoftime_seriessupport this setting. For more information, refer to Look-back time. -
index.routing_path -
(Static, string or array of strings) Plain
keywordfields used to route documents in a TSDS to index shards. Supports wildcards (*). Only indices with anindex.modeoftime_seriessupport this setting. Defaults to an empty list, except for data streams then defaults to the list of dimension fields with atime_series_dimensionvalue oftruedefined in your component and index templates. For more information, refer to Dimension-based routing.
-
index.mapping.dimension_fields.limit -
(Dynamic, integer)
Maximum number of time series dimensions for the
index. Defaults to
21.