tsds-index-settings.asciidoc 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 `30m` (30 minutes). Accepts `1m` (one minute) to `2h` (two
  27. hours). 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. NOTE: Increasing the `look_ahead_time` will also increase the amount of time {ilm-cap}
  31. waits before being able to proceed with executing the actions that expect the
  32. index to not receive any writes anymore. For more information, refer to <<time-bound-indices>>.
  33. [[index-look-back-time]]
  34. `index.look_back_time`::
  35. (<<_static_index_settings,Static>>, <<time-units,time units>>)
  36. Interval used to calculate the `index.time_series.start_time` for a TSDS's first
  37. backing index when a tsdb data stream is created. Defaults to `2h` (2 hours).
  38. Accepts `1m` (one minute) to `7d` (seven days). Only indices with an `index.mode`
  39. of `time_series` support this setting. For more information,
  40. refer to <<tsds-look-back-time>>.
  41. [[index-routing-path]] `index.routing_path`::
  42. (<<_static_index_settings,Static>>, string or array of strings) Plain `keyword`
  43. fields used to route documents in a TSDS to index shards. Supports wildcards
  44. (`*`). Only indices with an `index.mode` of `time_series` support this setting.
  45. Defaults to an empty list, except for data streams then defaults to the list
  46. of <<time-series-dimension,dimension fields>> with a `time_series_dimension`
  47. value of `true` defined in your component and index templates. For more
  48. information, refer to <<dimension-based-routing>>.
  49. [[index-mapping-dimension-fields-limit]]
  50. // tag::dimensions-limit[]
  51. `index.mapping.dimension_fields.limit`::
  52. (<<dynamic-index-settings,Dynamic>>, integer)
  53. Maximum number of <<time-series-dimension,time series dimensions>> for the
  54. index. Defaults to `32768`.
  55. // end::dimensions-limit[]