Searchable snapshot 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 various statistics about searchable snapshots.

Requestedit

GET /_searchable_snapshots/stats

GET /<target>/_searchable_snapshots/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

<target>
(Optional, string) A comma-separated list of data streams and indices for which the statistics must be retrieved.

Examplesedit

Retrieves the statistics of the index docs:

GET /docs/_searchable_snapshots/stats