tsds-index-settings.asciidoc 2.4 KB

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