Skip to content

Instantly share code, notes, and snippets.

@AWG-LesleyR
Created November 11, 2021 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AWG-LesleyR/08b872c59468cfad5c90f36d3945a65f to your computer and use it in GitHub Desktop.
Save AWG-LesleyR/08b872c59468cfad5c90f36d3945a65f to your computer and use it in GitHub Desktop.
[ec2-user@ip-X bin]$ curl -X GET "http:/x/_cluster/stats?human&pretty"
{
"_nodes" : {
"total" : 3,
"successful" : 3,
"failed" : 0
},
"cluster_name" : "ElasticsearchCluster",
"cluster_uuid" : "3o-ldzzVT_qkWBkEBOTFow",
"timestamp" : 1636482316192,
"status" : "green",
"indices" : {
"count" : 9,
"shards" : {
"total" : 27,
"primaries" : 13,
"replication" : 1.0769230769230769,
"index" : {
"shards" : {
"min" : 1,
"max" : 9,
"avg" : 3.0
},
"primaries" : {
"min" : 1,
"max" : 3,
"avg" : 1.4444444444444444
},
"replication" : {
"min" : 0.0,
"max" : 2.0,
"avg" : 0.6666666666666666
}
}
},
"docs" : {
"count" : 767404,
"deleted" : 134453
},
"store" : {
"size" : "23.9gb",
"size_in_bytes" : 25735327858
},
"fielddata" : {
"memory_size" : "0b",
"memory_size_in_bytes" : 0,
"evictions" : 0
},
"query_cache" : {
"memory_size" : "548mb",
"memory_size_in_bytes" : 574694030,
"total_count" : 9276531,
"hit_count" : 1257152,
"miss_count" : 8019379,
"cache_size" : 81752,
"cache_count" : 101752,
"evictions" : 20000
},
"completion" : {
"size" : "0b",
"size_in_bytes" : 0
},
"segments" : {
"count" : 307,
"memory" : "14.6mb",
"memory_in_bytes" : 15371400,
"terms_memory" : "10.8mb",
"terms_memory_in_bytes" : 11341285,
"stored_fields_memory" : "1.1mb",
"stored_fields_memory_in_bytes" : 1155600,
"term_vectors_memory" : "507.5kb",
"term_vectors_memory_in_bytes" : 519776,
"norms_memory" : "1mb",
"norms_memory_in_bytes" : 1084288,
"points_memory" : "88.2kb",
"points_memory_in_bytes" : 90367,
"doc_values_memory" : "1.1mb",
"doc_values_memory_in_bytes" : 1180084,
"index_writer_memory" : "0b",
"index_writer_memory_in_bytes" : 0,
"version_map_memory" : "0b",
"version_map_memory_in_bytes" : 0,
"fixed_bit_set" : "0b",
"fixed_bit_set_memory_in_bytes" : 0,
"max_unsafe_auto_id_timestamp" : -1,
"file_sizes" : { }
}
},
"nodes" : {
"count" : {
"total" : 3,
"coordinating_only" : 0,
"data" : 3,
"ingest" : 3,
"master" : 3,
"ml" : 3,
"voting_only" : 0
},
"versions" : [
"7.4.2"
],
"os" : {
"available_processors" : 3,
"allocated_processors" : 3,
"names" : [
{
"name" : "Linux",
"count" : 3
}
],
"pretty_names" : [
{
"pretty_name" : "CentOS Linux 7 (Core)",
"count" : 3
}
],
"mem" : {
"total" : "91.8gb",
"total_in_bytes" : 98675109888,
"free" : "5.8gb",
"free_in_bytes" : 6298042368,
"used" : "86gb",
"used_in_bytes" : 92377067520,
"free_percent" : 6,
"used_percent" : 94
}
},
"process" : {
"cpu" : {
"percent" : 22
},
"open_file_descriptors" : {
"min" : 427,
"max" : 446,
"avg" : 434
}
},
"jvm" : {
"max_uptime" : "12.8d",
"max_uptime_in_millis" : 1111118809,
"versions" : [
{
"version" : "13.0.1",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "13.0.1+9",
"vm_vendor" : "AdoptOpenJDK",
"bundled_jdk" : true,
"using_bundled_jdk" : true,
"count" : 3
}
],
"mem" : {
"heap_used" : "18.8gb",
"heap_used_in_bytes" : 20210658584,
"heap_max" : "59.9gb",
"heap_max_in_bytes" : 64398360576
},
"threads" : 117
},
"fs" : {
"total" : "353.9gb",
"total_in_bytes" : 380073000960,
"free" : "260.2gb",
"free_in_bytes" : 279449313280,
"available" : "259.3gb",
"available_in_bytes" : 278432677888
},
"plugins" : [
{
"name" : "analysis-phonetic",
"version" : "7.4.2",
"elasticsearch_version" : "7.4.2",
"java_version" : "1.8",
"description" : "The Phonetic Analysis plugin integrates phonetic token filter analysis with elasticsearch.",
"classname" : "org.elasticsearch.plugin.analysis.AnalysisPhoneticPlugin",
"extended_plugins" : [ ],
"has_native_controller" : false
},
{
"name" : "analysis-kuromoji",
"version" : "7.4.2",
"elasticsearch_version" : "7.4.2",
"java_version" : "1.8",
"description" : "The Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into elasticsearch.",
"classname" : "org.elasticsearch.plugin.analysis.kuromoji.AnalysisKuromojiPlugin",
"extended_plugins" : [ ],
"has_native_controller" : false
},
{
"name" : "analysis-icu",
"version" : "7.4.2",
"elasticsearch_version" : "7.4.2",
"java_version" : "1.8",
"description" : "The ICU Analysis plugin integrates the Lucene ICU module into Elasticsearch, adding ICU-related analysis components.",
"classname" : "org.elasticsearch.plugin.analysis.icu.AnalysisICUPlugin",
"extended_plugins" : [ ],
"has_native_controller" : false
},
{
"name" : "discovery-ec2",
"version" : "7.4.2",
"elasticsearch_version" : "7.4.2",
"java_version" : "1.8",
"description" : "The EC2 discovery plugin allows to use AWS API for the unicast discovery mechanism.",
"classname" : "org.elasticsearch.discovery.ec2.Ec2DiscoveryPlugin",
"extended_plugins" : [ ],
"has_native_controller" : false
},
{
"name" : "analysis-smartcn",
"version" : "7.4.2",
"elasticsearch_version" : "7.4.2",
"java_version" : "1.8",
"description" : "Smart Chinese Analysis plugin integrates Lucene Smart Chinese analysis module into elasticsearch.",
"classname" : "org.elasticsearch.plugin.analysis.smartcn.AnalysisSmartChinesePlugin",
"extended_plugins" : [ ],
"has_native_controller" : false
},
{
"name" : "repository-s3",
"version" : "7.4.2",
"elasticsearch_version" : "7.4.2",
"java_version" : "1.8",
"description" : "The S3 repository plugin adds S3 repositories",
"classname" : "org.elasticsearch.repositories.s3.S3RepositoryPlugin",
"extended_plugins" : [ ],
"has_native_controller" : false
},
{
"name" : "analysis-stempel",
"version" : "7.4.2",
"elasticsearch_version" : "7.4.2",
"java_version" : "1.8",
"description" : "The Stempel (Polish) Analysis plugin integrates Lucene stempel (polish) analysis module into elasticsearch.",
"classname" : "org.elasticsearch.plugin.analysis.stempel.AnalysisStempelPlugin",
"extended_plugins" : [ ],
"has_native_controller" : false
}
],
"network_types" : {
"transport_types" : {
"security4" : 3
},
"http_types" : {
"security4" : 3
}
},
"discovery_types" : {
"zen" : 3
},
"packaging_types" : [
{
"flavor" : "default",
"type" : "docker",
"count" : 3
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment