Whats the best way to manage number_of_replicas
index setting for indexes that are managed by Elasticsearch. Before we used legacy template that matches *
and sets number_of_replicas = 0
. But since 8.14 version Data Streams appeared and their settings not working with legacy templates.
The way I discovered how to handle number_of_replicas
for data streams indexes is to create custom component template and manually assign it to specific index template.
I had issue with .items-default
and .lists-default
data streams indexes. With default number_of_replicas
= 1