Menu
Simulate index template
Simulate index template
POST
/_index_template/_simulate_index/{name}Use it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Simulate index template action (under indices).
- Fill in the fields below, then reference the result from later steps as
{{simulateIndexTemplate.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{simulateIndexTemplate.response.data.<field>}}.
{
"overlapping": [
{
"name": "string",
"index_patterns": [
"string"
]
}
],
"template": {
"aliases": {},
"settings": {
"index": {},
"mode": "string",
"routing_path": null,
"soft_deletes": {
"enabled": null,
"retention": {
"type": null,
"description": null
},
"retention_lease": {
"type": null,
"description": null
}
},
"soft_deletes.retention_lease.period": "string",
"sort": {
"field": null,
"order": null,
"mode": null,
"missing": null
},
"number_of_shards": null,
"number_of_replicas": null,
"number_of_routing_shards": null,
"check_on_startup": "checksum",
"codec": "string",
"routing_partition_size": null
},
"mappings": {
"all_field": {
"analyzer": "string",
"enabled": false,
"omit_norms": false,
"search_analyzer": "string",
"similarity": "string",
"store": false,
"store_term_vector_offsets": false,
"store_term_vector_payloads": false,
"store_term_vector_positions": false,
"store_term_vectors": false
},
"date_detection": false,
"dynamic": null,
"dynamic_date_formats": [
"string"
],
"dynamic_templates": [
{}
],
"_field_names": {
"enabled": false
},
"index_field": {
"enabled": false
},
"_meta": {},
"numeric_detection": false,
"properties": {},
"_routing": {
"required": false
},
"_size": {
"enabled": false
}
}
}
}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?