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.

Retrieves 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 to use this API. You must also have the manage index privileges for the target data stream or index.

Descriptionedit

Path parametersedit

<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.

Examplesedit

Retrieves the statistics of the index my-index:

GET /my-index/_searchable_snapshots/stats