All methods and paths for this operation:
Get information about one or more index templates.
IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.
manage_index_templatesComma-separated list of index template names used to limit the request.
Wildcard (*) expressions are supported.
To return all index templates, omit this parameter or use a value of _all or *.
If true, returns settings in flat format.
If true, the request retrieves information from the local node only.
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.
GET /_template/.monitoring-*
resp = client.indices.get_template(
name=".monitoring-*",
)
const response = await client.indices.getTemplate({
name: ".monitoring-*",
});
response = client.indices.get_template(
name: ".monitoring-*"
)
$resp = $client->indices()->getTemplate([
"name" => ".monitoring-*",
]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_template/.monitoring-*"
client.indices().getTemplate(g -> g
.name(".monitoring-*")
);