Disallowing to specify number of shards & replicas at index creation time?

Good day,

Is it possible to make Elasticsearch ignore number of replicas & number of shards specified by user during index creation? I'm interested to control these parameters on Elasticsearch side only (using templates), overriding any values that may be specified by clients.

Can it be done?

Welcome to our community! :smiley:

No there's not. The only way would be to restrict creation of indices all together.

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