Christian_Dahlqvist:
cluster stats API?
{
"timestamp" : 1519280649176,
"cluster_name" : "elk-elastic",
"status" : "red",
"indices" : {
"count" : 43,
"shards" : {
"total" : 422,
"primaries" : 211,
"replication" : 1.0,
"index" : {
"shards" : {
"min" : 2,
"max" : 10,
"avg" : 9.813953488372093
},
"primaries" : {
"min" : 1,
"max" : 5,
"avg" : 4.906976744186046
},
"replication" : {
"min" : 1.0,
"max" : 1.0,
"avg" : 1.0
}
}
},
"docs" : {
"count" : 855052872,
"deleted" : 2
},
"store" : {
"size" : "652.1gb",
"size_in_bytes" : 700226555319,
"throttle_time" : "0s",
"throttle_time_in_millis" : 0
},
"fielddata" : {
"memory_size" : "0b",
"memory_size_in_bytes" : 0,
"evictions" : 0
},
"query_cache" : {
"memory_size" : "31.3kb",
"memory_size_in_bytes" : 32096,
"total_count" : 1110181,
"hit_count" : 0,
"miss_count" : 1110181,
"cache_size" : 57,
"cache_count" : 128,
"evictions" : 71
},
"completion" : {
"size" : "0b",
"size_in_bytes" : 0
},
"segments" : {
"count" : 6015,
"memory" : "2.1gb",
"memory_in_bytes" : 2302303124,
"terms_memory" : "1.9gb",
"terms_memory_in_bytes" : 2046090264,
"stored_fields_memory" : "237.8mb",
"stored_fields_memory_in_bytes" : 249426656,
"term_vectors_memory" : "0b",
"term_vectors_memory_in_bytes" : 0,
"norms_memory" : "4.5mb",
"norms_memory_in_bytes" : 4792384,
"doc_values_memory" : "1.9mb",
"doc_values_memory_in_bytes" : 1993820,
"index_writer_memory" : "9.5mb",
"index_writer_memory_in_bytes" : 10044416,
"index_writer_max_memory" : "9.5gb",
"index_writer_max_memory_in_bytes" : 10292884036,
"version_map_memory" : "969.6kb",
"version_map_memory_in_bytes" : 992940,
"fixed_bit_set" : "0b",
"fixed_bit_set_memory_in_bytes" : 0
},
"percolate" : {
"total" : 0,
"time" : "0s",
"time_in_millis" : 0,
"current" : 0,
"memory_size_in_bytes" : -1,
"memory_size" : "-1b",
"queries" : 0
}
},
"nodes" : {
"count" : {
"total" : 8,
"master_only" : 3,
"data_only" : 3,
"master_data" : 0,
"client" : 0
},
"versions" : [ "2.4.6" ],
"os" : {
"available_processors" : 32,
"allocated_processors" : 32,
"mem" : {
"total" : "53.4gb",
"total_in_bytes" : 57378734080
},
"names" : [ {
"name" : "Linux",
"count" : 8
} ]
},
"process" : {
"cpu" : {
"percent" : 9
},
"open_file_descriptors" : {
"min" : 343,
"max" : 3439,
"avg" : 1485
}
},
"jvm" : {
"max_uptime" : "16.7d",
"max_uptime_in_millis" : 1451058144,
"versions" : [ {
"version" : "1.8.0_151",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "25.151-b12",
"vm_vendor" : "Oracle Corporation",
"count" : 8
} ],
"mem" : {
"heap_used" : "8.4gb",
"heap_used_in_bytes" : 9042331416,
"heap_max" : "31.7gb",
"heap_max_in_bytes" : 34080817152
},
"threads" : 501
},
"fs" : {
"total" : "4.6tb",
"total_in_bytes" : 5073091891200,
"free" : "3.9tb",
"free_in_bytes" : 4366264889344,
"available" : "3.7tb",
"available_in_bytes" : 4150526734336
},
"plugins" : [ {
"name" : "head",
"version" : "master",
"description" : "head - A web front end for an Elasticsearch cluster",
"url" : "/_plugin/head/",
"jvm" : false,
"site" : true
}, {
"name" : "elastic-cloud",
"version" : "2.4.6",
"description" : "The Amazon Web Service (AWS) Cloud plugin allows to use AWS API for the unicast discovery mechanism and add S3 repositories.",
"jvm" : true,
"classname" : "org.elasticsearch.plugin.cloud.aws.CloudAwsPlugin",
"isolated" : true,
"site" : false
}, {
"name" : "analysis-kuromoji",
"version" : "2.4.6",
"description" : "The Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into elasticsearch.",
"jvm" : true,
"classname" : "org.elasticsearch.plugin.analysis.kuromoji.AnalysisKuromojiPlugin",
"isolated" : true,
"site" : false
}, {
"name" : "analysis-icu",
"version" : "2.4.6",
"description" : "The ICU Analysis plugin integrates Lucene ICU module into elasticsearch, adding ICU relates analysis components.",
"jvm" : true,
"classname" : "org.elasticsearch.plugin.analysis.icu.AnalysisICUPlugin",
"isolated" : true,
"site" : false
} ]
}
}