@Christian_Dahlqvist thanks for the reply, that was a fast one.
With the commands
curl -u user:password -XGET 'elasticsearchip1:9200/_cluster/stats?human&pretty'
I get
{
"_nodes" : {
"total" : 3,
"successful" : 3,
"failed" : 0
},
"cluster_name" : "myelasticsearch_cluster",
"timestamp" : 1485985995220,
"status" : "green",
"indices" : {
"count" : 78,
"shards" : {
"total" : 653,
"primaries" : 311,
"replication" : 1.0996784565916398,
"index" : {
"shards" : {
"min" : 2,
"max" : 30,
"avg" : 8.371794871794872
},
"primaries" : {
"min" : 1,
"max" : 10,
"avg" : 3.9871794871794872
},
"replication" : {
"min" : 1.0,
"max" : 2.0,
"avg" : 1.0897435897435896
}
}
},
"docs" : {
"count" : 17805214,
"deleted" : 1
},
"store" : {
"size" : "10.8gb",
"size_in_bytes" : 11616832667,
"throttle_time" : "0s",
"throttle_time_in_millis" : 0
},
"fielddata" : {
"memory_size" : "0b",
"memory_size_in_bytes" : 0,
"evictions" : 0
},
"query_cache" : {
"memory_size" : "206.8kb",
"memory_size_in_bytes" : 211788,
"total_count" : 97,
"hit_count" : 1,
"miss_count" : 96,
"cache_size" : 0,
"cache_count" : 7,
"evictions" : 7
},
"completion" : {
"size" : "0b",
"size_in_bytes" : 0
},
"segments" : {
"count" : 2759,
"memory" : "51.1mb",
"memory_in_bytes" : 53675552,
"terms_memory" : "37.2mb",
"terms_memory_in_bytes" : 39075148,
"stored_fields_memory" : "4.1mb",
"stored_fields_memory_in_bytes" : 4362016,
"term_vectors_memory" : "0b",
"term_vectors_memory_in_bytes" : 0,
"norms_memory" : "1.5mb",
"norms_memory_in_bytes" : 1586496,
"points_memory" : "3.5mb",
"points_memory_in_bytes" : 3763936,
"doc_values_memory" : "4.6mb",
"doc_values_memory_in_bytes" : 4887956,
"index_writer_memory" : "11.6mb",
"index_writer_memory_in_bytes" : 12228124,
"version_map_memory" : "6.2kb",
"version_map_memory_in_bytes" : 6355,
"fixed_bit_set" : "0b",
"fixed_bit_set_memory_in_bytes" : 0,
"max_unsafe_auto_id_timestamp" : 1485976972919,
"file_sizes" : { }
}
},
"nodes" : {
"count" : {
"total" : 3,
"data" : 3,
"coordinating_only" : 0,
"master" : 3,
"ingest" : 3
},
"versions" : [
"5.1.1"
],
"os" : {
"available_processors" : 12,
"allocated_processors" : 12,
"names" : [
{
"name" : "Linux",
"count" : 3
}
],
"mem" : {
"total" : "188.4gb",
"total_in_bytes" : 202374275072,
"free" : "20.8gb",
"free_in_bytes" : 22421368832,
"used" : "167.5gb",
"used_in_bytes" : 179952906240,
"free_percent" : 11,
"used_percent" : 89
}
},
"process" : {
cpu" : {
"percent" : 28
},
"open_file_descriptors" : {
"min" : 769,
"max" : 786,
"avg" : 778
}
},
"jvm" : {
"max_uptime" : "23.1h",
"max_uptime_in_millis" : 83268151,
"versions" : [
{
"version" : "1.8.0_121",
"vm_name" : "Java HotSpot(TM) 64-Bit Server VM",
"vm_version" : "25.121-b13",
"vm_vendor" : "Oracle Corporation",
"count" : 3
}
],
"mem" : {
"heap_used" : "23.8gb",
"heap_used_in_bytes" : 25616487992,
"heap_max" : "47.9gb",
"heap_max_in_bytes" : 51435012096
},
"threads" : 209
},
"fs" : {
"total" : "2.2tb",
"total_in_bytes" : 2455203201024,
"free" : "2.1tb",
free_in_bytes" : 2411214864384,
"available" : "2tb",
"available_in_bytes" : 2286426980352,
"spins" : "true"
},
"plugins" : [
{
"name" : "search-guard-5",
"version" : "5.1.1-9",
"description" : "Provide access control related features for Elasticsearch 5",
"classname" : "com.floragunn.searchguard.SearchGuardPlugin"
}
],
"network_types" : {
"transport_types" : {
"com.floragunn.searchguard.ssl.http.netty.SearchGuardSSLNettyTransport" : 3
},
"http_types" : {
"netty4" : 3
}
}
}
}
All my elasticsearch node have config and I have given heap_size: 16g to each of them.
cluster.name: myelasticsearch-cluster
network.host: elasticsearchip1
node.name: ${HOSTNAME}
discovery.zen.ping.unicast.hosts: ["elasticsearchip1","elasticsearchip2","elasticsearchip3"]
searchguard.ssl.transport.enabled: true
searchguard.ssl.transport.keystore_filepath: node-keystore.jks
searchguard.ssl.transport.keystore_password: keystorepassword
searchguard.ssl.transport.truststore_filepath: truststore.jks
searchguard.ssl.transport.truststore_password: truststorepassword
searchguard.ssl.transport.enforce_hostname_verification: false
searchguard.authcz.admin_dn:
- CN=sgadmin
Thanks.