tsds-index-settings.asciidoc 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [[tsds-index-settings]]
  2. === Time series index settings
  3. Backing indices in a <<tsds,time series data stream (TSDS)>> support the
  4. following index settings.
  5. [[index-mode]]
  6. `index.mode`::
  7. (<<_static_index_settings,Static>>, string) Mode for the index.
  8. Valid values are <<time-series-mode,`time_series`>> and `null` (no mode).
  9. Defaults to `null`.
  10. [[index-time-series-start-time]]
  11. `index.time_series.start_time`::
  12. (<<_static_index_settings,Static>>, string) Earliest `@timestamp`
  13. value (inclusive) accepted by the index. Only indices with an `index.mode` of
  14. <<time-series-mode,`time_series`>> support this setting. For more information,
  15. refer to <<time-bound-indices>>.
  16. [[index-time-series-end-time]]
  17. `index.time_series.end_time`::
  18. (<<dynamic-index-settings,Dynamic>>, string) Latest `@timestamp`
  19. value (exclusive) accepted by the index. Only indices with an `index.mode` of
  20. `time_series` support this setting. For more information, refer to
  21. <<time-bound-indices>>.
  22. [[index-look-ahead-time]]
  23. `index.look_ahead_time`::
  24. (<<_static_index_settings,Static>>, <<time-units,time units>>)
  25. Interval used to calculate the `index.time_series.end_time` for a TSDS's write
  26. index. Defaults to `2h` (2 hours). Accepts `1m` (one minute) to `7d` (seven
  27. days). Only indices with an `index.mode` of `time_series` support this setting.
  28. For more information, refer to <<tsds-look-ahead-time>>. Additionally this setting
  29. can not be less than `time_series.poll_interval` cluster setting.
  30. [[index-look-back-time]]
  31. `index.look_back_time`::
  32. (<<_static_index_settings,Static>>, <<time-units,time units>>)
  33. Interval used to calculate the `index.time_series.start_time` for a TSDS's first
  34. backing index when a tsdb data stream is created. Defaults to `2h` (2 hours).
  35. Accepts `1m` (one minute) to `7d` (seven days). Only indices with an `index.mode`
  36. of `time_series` support this setting. For more information,
  37. refer to <<tsds-look-back-time>>.
  38. [[index-routing-path]] `index.routing_path`::
  39. (<<_static_index_settings,Static>>, string or array of strings) Plain `keyword`
  40. fields used to route documents in a TSDS to index shards. Supports wildcards
  41. (`*`). Only indices with an `index.mode` of `time_series` support this setting.
  42. Defaults to an empty list, except for data streams then defaults to the list
  43. of <<time-series-dimension,dimension fields>> with a `time_series_dimension`
  44. value of `true` defined in your component and index templates. For more
  45. information, refer to <<dimension-based-routing>>.
  46. [[index-mapping-dimension-fields-limit]]
  47. // tag::dimensions-limit[]
  48. `index.mapping.dimension_fields.limit`::
  49. (<<dynamic-index-settings,Dynamic>>, integer)
  50. Maximum number of <<time-series-dimension,time series dimensions>> for the
  51. index. Defaults to `21`.
  52. // end::dimensions-limit[]