clusterStats

suspend fun SearchClient.clusterStats(filterPath: List<String>? = null, extraParameters: Map<String, String>? = null): ClusterStatsResponse

GET /_cluster/stats.

Use filterPath to reduce payload size with filter_path and extraParameters for additional query parameters.