Skip to content

Instantly share code, notes, and snippets.

@Zordrak
Created June 11, 2014 11:39
Show Gist options
  • Save Zordrak/b41ca43f48532ab004ca to your computer and use it in GitHub Desktop.
Save Zordrak/b41ca43f48532ab004ca to your computer and use it in GitHub Desktop.
Cluster Stats
OS: CentOS 6.5
ES: 0.90.13
# curl -XGET 'http://localhost:9200/_cluster/stats?human&pretty'
{
"timestamp" : 1402486567302,
"cluster_name" : "elasticsearch",
"status" : "yellow",
"indices" : {
"count" : 177,
"shards" : {
"total" : 885,
"primaries" : 885,
"replication" : 0.0,
"index" : {
"shards" : {
"min" : 5,
"max" : 5,
"avg" : 5.0
},
"primaries" : {
"min" : 5,
"max" : 5,
"avg" : 5.0
},
"replication" : {
"min" : 0.0,
"max" : 0.0,
"avg" : 0.0
}
}
},
"docs" : {
"count" : 67337680,
"deleted" : 0
},
"store" : {
"size" : "22.2gb",
"size_in_bytes" : 23845479200,
"throttle_time" : "3.6s",
"throttle_time_in_millis" : 3627
},
"fielddata" : {
"memory_size" : "0b",
"memory_size_in_bytes" : 0,
"evictions" : 0
},
"filter_cache" : {
"memory_size" : "0b",
"memory_size_in_bytes" : 0,
"evictions" : 0
},
"id_cache" : {
"memory_size" : "0b",
"memory_size_in_bytes" : 0
},
"completion" : {
"size" : "0b",
"size_in_bytes" : 0
},
"segments" : {
"count" : 5195,
"memory" : "711.5mb",
"memory_in_bytes" : 746128876
}
},
"nodes" : {
"count" : {
"total" : 1,
"master_only" : 0,
"data_only" : 0,
"master_data" : 1,
"client" : 0
},
"versions" : [ "0.90.13" ],
"os" : {
"available_processors" : 1,
"mem" : {
"total" : "2.8gb",
"total_in_bytes" : 3027718144
},
"cpu" : [ {
"vendor" : "Intel",
"model" : "QEMU Virtual CPU version (cpu64-rhel6)",
"mhz" : 2526,
"total_cores" : 1,
"total_sockets" : 1,
"cores_per_socket" : 1,
"cache_size" : "4kb",
"cache_size_in_bytes" : 4096,
"count" : 1
} ]
},
"process" : {
"cpu" : {
"percent" : 91
},
"open_file_descriptors" : {
"min" : 14309,
"max" : 14309,
"avg" : 14309
}
},
"jvm" : {
"max_uptime" : "40.6m",
"max_uptime_in_millis" : 2439079,
"versions" : [ {
"version" : "1.7.0_51",
"vm_name" : "Java HotSpot(TM) 64-Bit Server VM",
"vm_version" : "24.51-b03",
"vm_vendor" : "Oracle Corporation",
"count" : 1
} ],
"mem" : {
"heap_used" : "851.4mb",
"heap_used_in_bytes" : 892808880,
"heap_max" : "1015.6mb",
"heap_max_in_bytes" : 1065025536
},
"threads" : 33
},
"fs" : {
"total" : "39.3gb",
"total_in_bytes" : 42275733504,
"free" : "16.8gb",
"free_in_bytes" : 18135015424,
"available" : "14.8gb",
"available_in_bytes" : 15987535872,
"disk_reads" : 70024,
"disk_writes" : 9069,
"disk_io_op" : 79093,
"disk_read_size" : "851.2mb",
"disk_read_size_in_bytes" : 892604416,
"disk_write_size" : "166.1mb",
"disk_write_size_in_bytes" : 174244352,
"disk_io_size" : "1017.4mb",
"disk_io_size_in_bytes" : 1066848768,
"disk_queue" : "0",
"disk_service_time" : "0"
},
"plugins" : [ {
"name" : "HQ",
"description" : "No description found for HQ.",
"url" : "/_plugin/HQ/",
"jvm" : false,
"site" : true
} ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment