tsds-index-settings.asciidoc 2.3 KB

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