Searchable snapshot repository statistics APIedit

This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.

Retrieve usage statistics about a snapshot repository.

Requestedit

GET /_snapshot/<repository>/_stats

Prerequisitesedit

If the Elasticsearch security features are enabled, you must have the manage cluster privilege and the manage index privilege for any included indices to use this API. For more information, see Security privileges.

Descriptionedit

Path parametersedit

<repository>
(Required, string) The repository for which to retrieve stats.

Examplesedit

Retrieves the statistics of the repository my_repository:

GET /_snapshot/my_repository/_stats