ClusterStatsResponse

@Serializable
data class ClusterStatsResponse(val clusterName: String? = null, val status: ClusterStatus? = null, val indices: ClusterStatsIndices? = null, val nodes: ClusterStatsNodes? = null)

Summary response for GET /_cluster/stats.

This model intentionally captures only the fields needed for operational dashboards. All fields are nullable to stay compatible across Elasticsearch and OpenSearch versions.

Constructors

Link copied to clipboard
constructor(clusterName: String? = null, status: ClusterStatus? = null, indices: ClusterStatsIndices? = null, nodes: ClusterStatsNodes? = null)

Properties

Link copied to clipboard
@SerialName(value = "cluster_name")
val clusterName: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard