Searchable snapshot statistics API
This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
Retrieves statistics about searchable snapshots.
Request
GET /_searchable_snapshots/stats
GET /<target>/_searchable_snapshots/stats
Prerequisites
If the Elasticsearch security features are enabled, you must have the manage cluster privilege to use this API. You must also have the manage index privileges for the target data stream or index.
Description
Path parameters
-
<target> - (Optional, string) Comma-separated list of data streams and indices to retrieve statistics for. To retrieve statistics for all data streams and indices, omit this parameter.
Examples
Retrieves the statistics of the index my-index:
GET /my-index/_searchable_snapshots/stats
© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/searchable-snapshots-api-stats.html