Simulate an index

POST /_index_template/_simulate_index/{name}

Returns the index configuration that would be applied to the specified index from an existing index template.

Path parameters

  • name string Required

    Name of the index to simulate

Query parameters

  • Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.

  • If true, returns all relevant default configurations for the index template.

Responses

POST /_index_template/_simulate_index/{name}
curl \
 -X POST http://api.example.com/_index_template/_simulate_index/{name}