Skip to content

Instantly share code, notes, and snippets.

@cameronkerrnz
Created August 3, 2021 02:49
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 cameronkerrnz/5e5e9b7d5e27feae64e3945ac35bedab to your computer and use it in GitHub Desktop.
Save cameronkerrnz/5e5e9b7d5e27feae64e3945ac35bedab to your computer and use it in GitHub Desktop.
GET _cluster/stats?pretty&human
{
"_nodes" : {
"total" : 10,
"successful" : 10,
"failed" : 0
},
"cluster_name" : "wapiti-sst-prod-0",
"cluster_uuid" : "-qk1W5t9QKGclbFpYOrztQ",
"timestamp" : 1627958749872,
"status" : "green",
"indices" : {
"count" : 1498,
"shards" : {
"total" : 5425,
"primaries" : 4567,
"replication" : 0.18786949857674623,
"index" : {
"shards" : {
"min" : 1,
"max" : 8,
"avg" : 3.621495327102804
},
"primaries" : {
"min" : 1,
"max" : 8,
"avg" : 3.048731642189586
},
"replication" : {
"min" : 0.0,
"max" : 1.0,
"avg" : 0.32443257676902537
}
}
},
"docs" : {
"count" : 13495340886,
"deleted" : 9853340
},
"store" : {
"size" : "3.8tb",
"size_in_bytes" : 4178182185539,
"reserved" : "0b",
"reserved_in_bytes" : 0
},
"fielddata" : {
"memory_size" : "2.6mb",
"memory_size_in_bytes" : 2830712,
"evictions" : 0
},
"query_cache" : {
"memory_size" : "11mb",
"memory_size_in_bytes" : 11564912,
"total_count" : 2384529,
"hit_count" : 293174,
"miss_count" : 2091355,
"cache_size" : 5176,
"cache_count" : 6714,
"evictions" : 1538
},
"completion" : {
"size" : "0b",
"size_in_bytes" : 0
},
"segments" : {
"count" : 64213,
"memory" : "1.6gb",
"memory_in_bytes" : 1738490300,
"terms_memory" : "1.4gb",
"terms_memory_in_bytes" : 1535882520,
"stored_fields_memory" : "32.8mb",
"stored_fields_memory_in_bytes" : 34480968,
"term_vectors_memory" : "0b",
"term_vectors_memory_in_bytes" : 0,
"norms_memory" : "1.7mb",
"norms_memory_in_bytes" : 1827008,
"points_memory" : "0b",
"points_memory_in_bytes" : 0,
"doc_values_memory" : "158.5mb",
"doc_values_memory_in_bytes" : 166299804,
"index_writer_memory" : "921.1mb",
"index_writer_memory_in_bytes" : 965878122,
"version_map_memory" : "18.9mb",
"version_map_memory_in_bytes" : 19821147,
"fixed_bit_set" : "160.3mb",
"fixed_bit_set_memory_in_bytes" : 168131768,
"max_unsafe_auto_id_timestamp" : 1627950981642,
"file_sizes" : { }
},
"mappings" : {
"field_types" : [
{
"name" : "alias",
"count" : 14432,
"index_count" : 423
},
{
"name" : "binary",
"count" : 1,
"index_count" : 1
},
{
"name" : "boolean",
"count" : 53874,
"index_count" : 776
},
{
"name" : "byte",
"count" : 1,
"index_count" : 1
},
{
"name" : "date",
"count" : 72311,
"index_count" : 1478
},
{
"name" : "date_nanos",
"count" : 1,
"index_count" : 1
},
{
"name" : "date_range",
"count" : 1,
"index_count" : 1
},
{
"name" : "double",
"count" : 13960,
"index_count" : 424
},
{
"name" : "double_range",
"count" : 1,
"index_count" : 1
},
{
"name" : "flattened",
"count" : 4084,
"index_count" : 423
},
{
"name" : "float",
"count" : 20456,
"index_count" : 1001
},
{
"name" : "float_range",
"count" : 1,
"index_count" : 1
},
{
"name" : "geo_point",
"count" : 5962,
"index_count" : 983
},
{
"name" : "geo_shape",
"count" : 1,
"index_count" : 1
},
{
"name" : "half_float",
"count" : 519,
"index_count" : 246
},
{
"name" : "integer",
"count" : 407,
"index_count" : 36
},
{
"name" : "integer_range",
"count" : 1,
"index_count" : 1
},
{
"name" : "ip",
"count" : 57980,
"index_count" : 1196
},
{
"name" : "ip_range",
"count" : 1,
"index_count" : 1
},
{
"name" : "keyword",
"count" : 1839980,
"index_count" : 1476
},
{
"name" : "long",
"count" : 444883,
"index_count" : 1288
},
{
"name" : "long_range",
"count" : 1,
"index_count" : 1
},
{
"name" : "nested",
"count" : 1308,
"index_count" : 448
},
{
"name" : "object",
"count" : 382862,
"index_count" : 1424
},
{
"name" : "shape",
"count" : 1,
"index_count" : 1
},
{
"name" : "short",
"count" : 43178,
"index_count" : 637
},
{
"name" : "text",
"count" : 90157,
"index_count" : 1464
},
{
"name" : "unsigned_long",
"count" : 28,
"index_count" : 28
}
]
},
"analysis" : {
"char_filter_types" : [
{
"name" : "mapping",
"count" : 185,
"index_count" : 185
},
{
"name" : "pattern_replace",
"count" : 370,
"index_count" : 185
}
],
"tokenizer_types" : [
{
"name" : "path_hierarchy",
"count" : 185,
"index_count" : 185
},
{
"name" : "pattern",
"count" : 370,
"index_count" : 185
}
],
"filter_types" : [
{
"name" : "condition",
"count" : 185,
"index_count" : 185
},
{
"name" : "length",
"count" : 370,
"index_count" : 185
},
{
"name" : "pattern_replace",
"count" : 185,
"index_count" : 185
}
],
"analyzer_types" : [
{
"name" : "custom",
"count" : 555,
"index_count" : 185
}
],
"built_in_char_filters" : [ ],
"built_in_tokenizers" : [ ],
"built_in_filters" : [
{
"name" : "asciifolding",
"count" : 185,
"index_count" : 185
},
{
"name" : "lowercase",
"count" : 555,
"index_count" : 185
}
],
"built_in_analyzers" : [
{
"name" : "whitespace",
"count" : 185,
"index_count" : 185
}
]
},
"versions" : [
{
"version" : "6.3.2",
"index_count" : 1,
"primary_shard_count" : 1,
"total_primary_size" : "9.9kb",
"total_primary_bytes" : 10141
},
{
"version" : "6.5.0",
"index_count" : 3,
"primary_shard_count" : 3,
"total_primary_size" : "21.5kb",
"total_primary_bytes" : 22086
},
{
"version" : "7.5.1",
"index_count" : 4,
"primary_shard_count" : 4,
"total_primary_size" : "30.8kb",
"total_primary_bytes" : 31626
},
{
"version" : "7.6.0",
"index_count" : 2,
"primary_shard_count" : 2,
"total_primary_size" : "84.4kb",
"total_primary_bytes" : 86498
},
{
"version" : "7.6.2",
"index_count" : 28,
"primary_shard_count" : 28,
"total_primary_size" : "60.3mb",
"total_primary_bytes" : 63277953
},
{
"version" : "7.9.1",
"index_count" : 29,
"primary_shard_count" : 29,
"total_primary_size" : "48.5mb",
"total_primary_bytes" : 50942186
},
{
"version" : "7.10.2",
"index_count" : 633,
"primary_shard_count" : 2278,
"total_primary_size" : "99.6gb",
"total_primary_bytes" : 106976136291
},
{
"version" : "7.11.2",
"index_count" : 798,
"primary_shard_count" : 2222,
"total_primary_size" : "3tb",
"total_primary_bytes" : 3327727313817
}
]
},
"nodes" : {
"count" : {
"total" : 10,
"coordinating_only" : 0,
"data" : 10,
"data_cold" : 10,
"data_content" : 10,
"data_hot" : 10,
"data_warm" : 10,
"ingest" : 10,
"master" : 10,
"ml" : 10,
"remote_cluster_client" : 10,
"transform" : 10,
"voting_only" : 0
},
"versions" : [
"7.11.2"
],
"os" : {
"available_processors" : 240,
"allocated_processors" : 240,
"names" : [
{
"name" : "Linux",
"count" : 10
}
],
"pretty_names" : [
{
"pretty_name" : "Red Hat Enterprise Linux",
"count" : 8
},
{
"pretty_name" : "Red Hat Network",
"count" : 2
}
],
"mem" : {
"total" : "1.2tb",
"total_in_bytes" : 1349089959936,
"free" : "16.9gb",
"free_in_bytes" : 18208583680,
"used" : "1.2tb",
"used_in_bytes" : 1330881376256,
"free_percent" : 1,
"used_percent" : 99
}
},
"process" : {
"cpu" : {
"percent" : 27
},
"open_file_descriptors" : {
"min" : 1781,
"max" : 10827,
"avg" : 6219
}
},
"jvm" : {
"max_uptime" : "16h",
"max_uptime_in_millis" : 57606810,
"versions" : [
{
"version" : "15.0.1",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "15.0.1+9",
"vm_vendor" : "AdoptOpenJDK",
"bundled_jdk" : true,
"using_bundled_jdk" : true,
"count" : 10
}
],
"mem" : {
"heap_used" : "84.8gb",
"heap_used_in_bytes" : 91134449824,
"heap_max" : "160gb",
"heap_max_in_bytes" : 171798691840
},
"threads" : 1779
},
"fs" : {
"total" : "5.2tb",
"total_in_bytes" : 5749968379904,
"free" : "3.5tb",
"free_in_bytes" : 3939516985344,
"available" : "3.5tb",
"available_in_bytes" : 3939516985344
},
"plugins" : [ ],
"network_types" : {
"transport_types" : {
"security4" : 10
},
"http_types" : {
"security4" : 10
}
},
"discovery_types" : {
"zen" : 10
},
"packaging_types" : [
{
"flavor" : "default",
"type" : "rpm",
"count" : 10
}
],
"ingest" : {
"number_of_pipelines" : 81,
"processor_stats" : {
"append" : {
"count" : 514449,
"failed" : 0,
"current" : 0,
"time" : "2.2s",
"time_in_millis" : 2200
},
"conditional" : {
"count" : 1626854,
"failed" : 0,
"current" : 0,
"time" : "2.2m",
"time_in_millis" : 133936
},
"convert" : {
"count" : 15304,
"failed" : 0,
"current" : 0,
"time" : "362ms",
"time_in_millis" : 362
},
"csv" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time" : "0s",
"time_in_millis" : 0
},
"date" : {
"count" : 243284,
"failed" : 0,
"current" : 0,
"time" : "3.4m",
"time_in_millis" : 208480
},
"dot_expander" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time" : "0s",
"time_in_millis" : 0
},
"foreach" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time" : "0s",
"time_in_millis" : 0
},
"geoip" : {
"count" : 718632,
"failed" : 328070,
"current" : 0,
"time" : "18.6s",
"time_in_millis" : 18606
},
"grok" : {
"count" : 961884,
"failed" : 11612,
"current" : 0,
"time" : "2.8m",
"time_in_millis" : 170760
},
"gsub" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time" : "0s",
"time_in_millis" : 0
},
"json" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time" : "0s",
"time_in_millis" : 0
},
"kv" : {
"count" : 7652,
"failed" : 0,
"current" : 0,
"time" : "316ms",
"time_in_millis" : 316
},
"lowercase" : {
"count" : 3826,
"failed" : 0,
"current" : 0,
"time" : "43ms",
"time_in_millis" : 43
},
"remove" : {
"count" : 1575603,
"failed" : 265,
"current" : 0,
"time" : "8.1s",
"time_in_millis" : 8194
},
"rename" : {
"count" : 1500072,
"failed" : 71826,
"current" : 0,
"time" : "9.1s",
"time_in_millis" : 9141
},
"script" : {
"count" : 336568,
"failed" : 324244,
"current" : 0,
"time" : "1m",
"time_in_millis" : 63036
},
"set" : {
"count" : 2175587,
"failed" : 0,
"current" : 0,
"time" : "54.3s",
"time_in_millis" : 54342
},
"split" : {
"count" : 3826,
"failed" : 3634,
"current" : 0,
"time" : "145ms",
"time_in_millis" : 145
},
"urldecode" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time" : "0s",
"time_in_millis" : 0
},
"user_agent" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time" : "0s",
"time_in_millis" : 0
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment