tsds-index-settings.asciidoc 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [[tsds-index-settings]]
  2. === Time series index settings
  3. preview::[]
  4. Backing indices in a <<tsds,time series data stream (TSDS)>> support the
  5. following index settings.
  6. [[index-mode]]
  7. `index.mode`::
  8. preview:[] (<<_static_index_settings,Static>>, string) Mode for the index.
  9. Valid values are <<time-series-mode,`time_series`>> and `null` (no mode).
  10. Defaults to `null`.
  11. [[index-time-series-start-time]]
  12. `index.time_series.start_time`::
  13. preview:[] (<<_static_index_settings,Static>>, string) Earliest `@timestamp`
  14. value (inclusive) accepted by the index. Only indices with an `index.mode` of
  15. <<time-series-mode,`time_series`>> support this setting. For more information,
  16. refer to <<time-bound-indices>>.
  17. [[index-time-series-end-time]]
  18. `index.time_series.end_time`::
  19. preview:[] (<<dynamic-index-settings,Dynamic>>, string) Latest `@timestamp`
  20. value (exclusive) accepted by the index. Only indices with an `index.mode` of
  21. `time_series` support this setting. For more information, refer to
  22. <<time-bound-indices>>.
  23. [[index-look-ahead-time]]
  24. `index.look_ahead_time`::
  25. preview:[] (<<_static_index_settings,Static>>, <<time-units,time units>>)
  26. Interval used to calculate the `index.time_series.end_time` for a TSDS's write
  27. index. Defaults to `2h` (2 hours). Accepts `1m` (one minute) to `7d` (seven
  28. days). Only indices with an `index.mode` of `time_series` support this setting.
  29. For more information, refer to <<tsds-look-ahead-time>>. Additionally this setting
  30. can not be less than `time_series.poll_interval` cluster setting.
  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. // end::dimensions-limit[]