Hi Christian, here you are the cluster stats API
{
"_nodes" : {
"total" : 6,
"successful" : 6,
"failed" : 0
},
"cluster_name" : "cluster_name",
"cluster_uuid" : "cluster_uid",
"timestamp" : 1622094324687,
"status" : "red",
"indices" : {
"count" : 61,
"shards" : {
"total" : 382,
"primaries" : 191,
"replication" : 1.0,
"index" : {
"shards" : {
"min" : 2,
"max" : 12,
"avg" : 6.262295081967213
},
"primaries" : {
"min" : 1,
"max" : 6,
"avg" : 3.1311475409836067
},
"replication" : {
"min" : 1.0,
"max" : 1.0,
"avg" : 1.0
}
}
},
"docs" : {
"count" : xxx,
"deleted" : xxx
},
"store" : {
"size_in_bytes" : xx
},
"fielddata" : {
"memory_size_in_bytes" : 76432,
"evictions" : 0
},
"query_cache" : {
"memory_size_in_bytes" : 170881133,
"total_count" : 21561575,
"hit_count" : 1571964,
"miss_count" : 19989611,
"cache_size" : 27519,
"cache_count" : 177753,
"evictions" : 150234
},
"completion" : {
"size_in_bytes" : 0
},
"segments" : {
"count" : 6626,
"memory_in_bytes" : xx,
"terms_memory_in_bytes" : 2445657104,
"stored_fields_memory_in_bytes" : 752527712,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 7775296,
"points_memory_in_bytes" : 61055859,
"doc_values_memory_in_bytes" : 12895000,
"index_writer_memory_in_bytes" : 1158230110,
"version_map_memory_in_bytes" : 95079249,
"fixed_bit_set_memory_in_bytes" : 1393952,
"max_unsafe_auto_id_timestamp" : 1622073607345,
"file_sizes" : { }
}
},
"nodes" : {
"count" : {
"total" : 6,
"data" : 6,
"coordinating_only" : 0,
"master" : 6,
"ingest" : 6
},
"versions" : [
"7.2.0"
],
"os" : {
"available_processors" : xx,
"allocated_processors" : xx,
"names" : [
{
"name" : "Linux",
"count" : 6
}
],
"pretty_names" : [
{
"pretty_name" : "xx",
"count" : 6
}
],
"mem" : {
"total_in_bytes" : 201401745408,
"free_in_bytes" : 6521278464,
"used_in_bytes" : 194880466944,
"free_percent" : 3,
"used_percent" : 97
}
},
"process" : {
"cpu" : {
"percent" : 7
},
"open_file_descriptors" : {
"min" : 1624,
"max" : 1710,
"avg" : 1646
}
},
"jvm" : {
"max_uptime_in_millis" : 1905769850,
"versions" : [
{
"version" : "12.0.1",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "12.0.1+12",
"vm_vendor" : "Oracle Corporation",
"bundled_jdk" : true,
"using_bundled_jdk" : true,
"count" : 6
}
],
"mem" : {
"heap_used_in_bytes" : 51646454896,
"heap_max_in_bytes" : 100491853824
},
"threads" : 780
},
"fs" : {
"total_in_bytes" : 3219627466752,
"free_in_bytes" : 2102545743872,
"available_in_bytes" : 2102545743872
},
"plugins" : [ ],
"network_types" : {
"transport_types" : {
"netty4" : 1
},
"http_types" : {
"netty4" : 1
}
},
"discovery_types" : {
"zen" : 6
},
"packaging_types" : [
{
"flavor" : "default",
"type" : "tar",
"count" : 6
}
]
}
}