@@ -41,58 +41,3 @@ to a follower the following process will fail due to incomplete history on the l
41
41
The default value is `12h`.
42
42
43
43
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