How can I change primaries in template file

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Opensearch: v2.15.0

Describe the issue:
I have 2 template files setting for data-prepper which from offical github.
“data-prepper-plugins/opensearch/src/main/resources/index-template/otel-v1-apm-service-map-index-template.json”
I have tried
“settings”: {
“index.number_of_shards”: 5,
“index.number_of_replicas”: 0
},
and
“settings”: {
“number_of_shards”: 5,
“number_of_replicas”: 0
},

But none of them works.
Indexes created by data-prepper still have only 1 primary shard.

Configuration:

Relevant Logs or Screenshots:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.