tsds-index-settings.asciidoc 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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>>.
  31. [[index-routing-path]] `index.routing_path`:: preview:[]
  32. (<<_static_index_settings,Static>>, string or array of strings) Plain `keyword`
  33. fields used to route documents in a TSDS to index shards. Supports wildcards
  34. (`*`). Only indices with an `index.mode` of `time_series` support this setting.
  35. Defaults to the list of <<time-series-dimension,dimension fields>> with a
  36. `time_series_dimension` value of `true` defined in your component templates. For
  37. more information, refer to <<dimension-based-routing>>.
  38. [[index-mapping-dimension-fields-limit]]
  39. // tag::dimensions-limit[]
  40. `index.mapping.dimension_fields.limit`::
  41. preview:[] (<<dynamic-index-settings,Dynamic>>, integer)
  42. //Maximum number of <<time-series-dimension,time series dimensions>> for the
  43. //index. Defaults to `16`.
  44. Maximum number of time series dimensions for the
  45. index. Defaults to `16`.
  46. // end::dimensions-limit[]
  47. endif::[]