Menu
Simulate an index
Simulate an index
POST
/_index_template/_simulate_index/{name}Use it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Simulate an index action (under indices).
- Fill in the fields below, then reference the result from later steps as
{{simulateAnIndex.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"index_patterns": null,
"composed_of": [
"string"
],
"template": null,
"version": null,
"priority": 0,
"_meta": null,
"allow_auto_create": false,
"data_stream": null,
"deprecated": false,
"ignore_missing_component_templates": null,
"created_date": null,
"created_date_millis": null
}
Response
Returns 200 with an object. Read it in later steps with {{simulateAnIndex.response.data.<field>}}.
{
"template": null,
"overlapping": [
{
"name": null,
"index_patterns": [
"string"
]
}
]
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?