mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
[DOCS] Update data stream rollover references (#70993)
This commit is contained in:
parent
a73631eab8
commit
20df933e6b
8 changed files with 13 additions and 11 deletions
|
@ -84,7 +84,6 @@ roll over data streams when the write index reaches a specified age or size.
|
||||||
If needed, you can also <<manually-roll-over-a-data-stream,manually roll over>>
|
If needed, you can also <<manually-roll-over-a-data-stream,manually roll over>>
|
||||||
a data stream.
|
a data stream.
|
||||||
|
|
||||||
|
|
||||||
[discrete]
|
[discrete]
|
||||||
[[data-streams-generation]]
|
[[data-streams-generation]]
|
||||||
== Generation
|
== Generation
|
||||||
|
|
|
@ -9,8 +9,8 @@ To set up a data stream, follow these steps:
|
||||||
. <<create-a-data-stream>>.
|
. <<create-a-data-stream>>.
|
||||||
. <<secure-a-data-stream>>.
|
. <<secure-a-data-stream>>.
|
||||||
|
|
||||||
You can also <<convert-an-index-alias-to-a-data-stream,convert an existing index
|
You can also <<convert-an-index-alias-to-a-data-stream,convert an index alias to
|
||||||
alias to a data stream>>.
|
a data stream>>.
|
||||||
|
|
||||||
[discrete]
|
[discrete]
|
||||||
[[configure-a-data-stream-ilm-policy]]
|
[[configure-a-data-stream-ilm-policy]]
|
||||||
|
@ -189,9 +189,12 @@ the stream. This index also acts as the stream's first write index.
|
||||||
[[convert-an-index-alias-to-a-data-stream]]
|
[[convert-an-index-alias-to-a-data-stream]]
|
||||||
=== Convert an index alias to a data stream
|
=== Convert an index alias to a data stream
|
||||||
|
|
||||||
|
// tag::time-series-alias-tip[]
|
||||||
Prior to {es} 7.9, you would typically use an <<indices-aliases,index alias>>
|
Prior to {es} 7.9, you would typically use an <<indices-aliases,index alias>>
|
||||||
with a write index to manage time series data. Data streams replace most of
|
with a write index to manage time series data. Data streams replace this
|
||||||
this functionality and usually require less maintenance.
|
functionality, require less maintenance, and automatically integrate with
|
||||||
|
<<data-tiers,data tiers>>.
|
||||||
|
// end::time-series-alias-tip[]
|
||||||
|
|
||||||
To convert an index alias with a write index to a new data stream with the same
|
To convert an index alias with a write index to a new data stream with the same
|
||||||
name, use the <<indices-migrate-to-data-stream,migrate to data stream API>>.
|
name, use the <<indices-migrate-to-data-stream,migrate to data stream API>>.
|
||||||
|
|
|
@ -29,7 +29,7 @@ merges>>. See <<frozen-indices>> and <<unfreeze-index-api>>.
|
||||||
|
|
||||||
The current write index on a data stream cannot be frozen. In order to freeze
|
The current write index on a data stream cannot be frozen. In order to freeze
|
||||||
the current write index, the data stream must first be
|
the current write index, the data stream must first be
|
||||||
<<rollover-data-stream-ex,rolled over>> so that a new write index is created
|
<<data-streams-rollover,rolled over>> so that a new write index is created
|
||||||
and then the previous write index can be frozen.
|
and then the previous write index can be frozen.
|
||||||
|
|
||||||
IMPORTANT: Freezing an index will close the index and reopen it within the same
|
IMPORTANT: Freezing an index will close the index and reopen it within the same
|
||||||
|
|
|
@ -47,7 +47,7 @@ PUT /my_source_index/_settings
|
||||||
|
|
||||||
The current write index on a data stream cannot be cloned. In order to clone
|
The current write index on a data stream cannot be cloned. In order to clone
|
||||||
the current write index, the data stream must first be
|
the current write index, the data stream must first be
|
||||||
<<rollover-data-stream-ex,rolled over>> so that a new write index is created
|
<<data-streams-rollover,rolled over>> so that a new write index is created
|
||||||
and then the previous write index can be cloned.
|
and then the previous write index can be cloned.
|
||||||
|
|
||||||
[[clone-index-api-desc]]
|
[[clone-index-api-desc]]
|
||||||
|
|
|
@ -43,7 +43,7 @@ this setting in the `elasticsearch.yml` file or using the
|
||||||
<<cluster-update-settings,cluster update settings>> API.
|
<<cluster-update-settings,cluster update settings>> API.
|
||||||
|
|
||||||
NOTE: You cannot delete the current write index of a data stream. To delete the
|
NOTE: You cannot delete the current write index of a data stream. To delete the
|
||||||
index, you must <<rollover-data-stream-ex,roll over>> the data stream so a new
|
index, you must <<data-streams-rollover,roll over>> the data stream so a new
|
||||||
write index is created. You can then use the delete index API to delete the
|
write index is created. You can then use the delete index API to delete the
|
||||||
previous write index.
|
previous write index.
|
||||||
--
|
--
|
||||||
|
|
|
@ -66,7 +66,7 @@ API by setting `cluster.indices.close.enable` to `false`. The default is `true`.
|
||||||
|
|
||||||
The current write index on a data stream cannot be closed. In order to close
|
The current write index on a data stream cannot be closed. In order to close
|
||||||
the current write index, the data stream must first be
|
the current write index, the data stream must first be
|
||||||
<<rollover-data-stream-ex,rolled over>> so that a new write index is created
|
<<data-streams-rollover,rolled over>> so that a new write index is created
|
||||||
and then the previous write index can be closed.
|
and then the previous write index can be closed.
|
||||||
|
|
||||||
// end::closed-index[]
|
// end::closed-index[]
|
||||||
|
|
|
@ -82,7 +82,7 @@ in the index must be present on the same node.
|
||||||
|
|
||||||
The current write index on a data stream cannot be shrunk. In order to shrink
|
The current write index on a data stream cannot be shrunk. In order to shrink
|
||||||
the current write index, the data stream must first be
|
the current write index, the data stream must first be
|
||||||
<<rollover-data-stream-ex,rolled over>> so that a new write index is created
|
<<data-streams-rollover,rolled over>> so that a new write index is created
|
||||||
and then the previous write index can be shrunk.
|
and then the previous write index can be shrunk.
|
||||||
|
|
||||||
[[how-shrink-works]]
|
[[how-shrink-works]]
|
||||||
|
|
|
@ -56,7 +56,7 @@ PUT /my_source_index/_settings
|
||||||
|
|
||||||
The current write index on a data stream cannot be split. In order to split
|
The current write index on a data stream cannot be split. In order to split
|
||||||
the current write index, the data stream must first be
|
the current write index, the data stream must first be
|
||||||
<<rollover-data-stream-ex,rolled over>> so that a new write index is created
|
<<data-streams-rollover,rolled over>> so that a new write index is created
|
||||||
and then the previous write index can be split.
|
and then the previous write index can be split.
|
||||||
|
|
||||||
[[split-index-api-desc]]
|
[[split-index-api-desc]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue