Skip to content

Commit f0924e6

Browse files
committed
Remove outdated requirement of CCR (#50859)
With retention leases, users do not need to set index.soft_deletes.retention.operations. This change removes it from the requirements of CCR
1 parent fb32a55 commit f0924e6

File tree

1 file changed

+0
-55
lines changed

1 file changed

+0
-55
lines changed

docs/reference/ccr/requirements.asciidoc

-55
Original file line numberDiff line numberDiff line change
@@ -41,58 +41,3 @@ to a follower the following process will fail due to incomplete history on the l
4141
The default value is `12h`.
4242

4343
For more information about index settings, see {ref}/index-modules.html[Index modules].
44-
45-
46-
[[ccr-overview-beats]]
47-
==== Setting soft deletes on indices created by APM Server or Beats
48-
49-
If you want to replicate indices created by APM Server or Beats, and are
50-
allowing APM Server or Beats to manage index templates, you need to configure
51-
soft deletes on the underlying index templates. To configure soft deletes on the
52-
underlying index templates, incorporate the following changes to the relevant
53-
APM Server or Beats configuration file.
54-
55-
["source","yaml"]
56-
----------------------------------------------------------------------
57-
setup.template.overwrite: true
58-
setup.template.settings:
59-
index.soft_deletes.retention.operations: 1024
60-
----------------------------------------------------------------------
61-
62-
For additional information on controlling the index templates managed by APM
63-
Server or Beats, see the relevant documentation on loading the Elasticsearch
64-
index template.
65-
66-
67-
[[ccr-overview-logstash]]
68-
==== Setting soft deletes on indices created by Logstash
69-
70-
If you want to replicate indices created by Logstash, and are using Logstash to
71-
manage index templates, you need to configure soft deletes on a custom Logstash
72-
index template. To configure soft deletes on the underlying index template,
73-
incorporate the following change to a custom Logstash template.
74-
75-
["source","js"]
76-
----------------------------------------------------------------------
77-
{
78-
"settings" : {
79-
"index.soft_deletes.retention.operations" : 1024
80-
}
81-
}
82-
----------------------------------------------------------------------
83-
// NOTCONSOLE
84-
85-
Additionally, you will need to configure the Elasticsearch output plugin to use
86-
this custom template.
87-
88-
["source","ruby"]
89-
----------------------------------------------------------------------
90-
output {
91-
elasticsearch {
92-
template => "/path/to/custom/logstash/template.json"
93-
}
94-
}
95-
----------------------------------------------------------------------
96-
97-
For additional information on controlling the index templates managed by
98-
Logstash, see the relevant documentation on the Elasticsearch output plugin.

0 commit comments

Comments
 (0)