WARNING: Version 6.2 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
cat templates
editcat templates
editThe templates
command provides information about existing templates.
GET /_cat/templates?v&s=name
which looks like
name index_patterns order version template0 [te*] 0 template1 [tea*] 1 template2 [teak*] 2 7
The output shows that there are three existing templates, with template2 having a version value.
The endpoint also supports giving a template name or pattern in the url
to filter the results, for example /_cat/templates/template*
or
/_cat/templates/template0
.