Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Indices.prototype.stats
import { Indices } from "https://deno.land/x/deno_es@v0.4.3/src/indices.ts";

Returns statistics for one or more indices. For data streams, the API retrieves statistics for the stream’s backing indices.

curl -X GET "localhost:9200/my-index-000001/_stats?pretty"

Parameters

optional
options: ExOptions