Simulate an index template

  • POST /_index_template/_simulate/{name}
  • POST /_index_template/_simulate

Get the index configuration that would be applied by a particular index template.

  • Cluster privileges: manage_index_templates

Path Parameters

name string Name optional

Name of the index template to simulate. To test a template configuration before you add it to the cluster, omit this parameter and specify the template configuration in the request body.

Leave it out to use /_index_template/_simulate.

Response