[root@master7 ]# kubectl exec -it -n kubesphere-logging-system elasticsearch-logging-data-0 /bin/sh
sh-4.2$ curl localhost:9200/cat/indices?v
{“error”:{“root_cause”:[{“type”:“master_not_discovered_exception”,“reason”:null}],“type”:“master_not_discovered_exception”,“reason”:null},“status”:503}sh-4.2$
sh-4.2$
sh-4.2$ curl localhost:9200/cluster/health?pretty
{
“error” : {
“root_cause” : [
{
“type” : “master_not_discovered_exception”,
“reason” : null
}
],
“type” : “master_not_discovered_exception”,
“reason” : null
},
“status” : 503
}
sh-4.2$ curl localhost:9200/cat/shards?v
{“error”:{“root_cause”:[{“type”:“master_not_discovered_exception”,“reason”:null}],“type”:“master_not_discovered_exception”,“reason”:null},“status”:503}sh-4.2$
sh-4.2$
sh-4.2$ curl localhost:9200/nodes/stats
{
“nodes”: {
“total”: 1,
“successful”: 1,
“failed”: 0
},
“cluster_name”: “elasticsearch”,
“nodes”: {
“x8wXjxznRoWO3xP44V4QBA”: {
“timestamp”: 1582445130570,
“name”: “elasticsearch-logging-data-0″,
“transport_address”: “10.233.98.62:9300”,
“host”: “10.233.98.62″,
“ip”: “10.233.98.62:9300″,
“roles”: [“data”, “ingest”],
“indices”: {
“docs”: {
“count”: 0,
“deleted”: 0
},
“store”: {
“size_in_bytes”: 0
},
“indexing”: {
“index_total”: 0,
“index_time_in_millis”: 0,
“index_current”: 0,
“index_failed”: 0,
“delete_total”: 0,
“delete_time_in_millis”: 0,
“delete_current”: 0,
“noop_update_total”: 0,
“is_throttled”: false,
“throttle_time_in_millis”: 0
},
“get”: {
“total”: 0,
“time_in_millis”: 0,
“exists_total”: 0,
“exists_time_in_millis”: 0,
“missing_total”: 0,
“missing_time_in_millis”: 0,
“current”: 0
},
“search”: {
“open_contexts”: 0,
“query_total”: 0,
“query_time_in_millis”: 0,
“query_current”: 0,
“fetch_total”: 0,
“fetch_time_in_millis”: 0,
“fetch_current”: 0,
“scroll_total”: 0,
“scroll_time_in_millis”: 0,
“scroll_current”: 0,
“suggest_total”: 0,
“suggest_time_in_millis”: 0,
“suggest_current”: 0
},
“merges”: {
“current”: 0,
“current_docs”: 0,
“current_size_in_bytes”: 0,
“total”: 0,
“total_time_in_millis”: 0,
“total_docs”: 0,
“total_size_in_bytes”: 0,
“total_stopped_time_in_millis”: 0,
“total_throttled_time_in_millis”: 0,
“total_auto_throttle_in_bytes”: 0
},
“refresh”: {
“total”: 0,
“total_time_in_millis”: 0,
“listeners”: 0
},
“flush”: {
“total”: 0,
“periodic”: 0,
“total_time_in_millis”: 0
},
“warmer”: {
“current”: 0,
“total”: 0,
“total_time_in_millis”: 0
},
“query_cache”: {
“memory_size_in_bytes”: 0,
“total_count”: 0,
“hit_count”: 0,
“miss_count”: 0,
“cache_size”: 0,
“cache_count”: 0,
“evictions”: 0
},
“fielddata”: {
“memory_size_in_bytes”: 0,
“evictions”: 0
},
“completion”: {
“size_in_bytes”: 0
},
“segments”: {
“count”: 0,
“memory_in_bytes”: 0,
“terms_memory_in_bytes”: 0,
“stored_fields_memory_in_bytes”: 0,
“term_vectors_memory_in_bytes”: 0,
“norms_memory_in_bytes”: 0,
“points_memory_in_bytes”: 0,
“doc_values_memory_in_bytes”: 0,
“index_writer_memory_in_bytes”: 0,
“version_map_memory_in_bytes”: 0,
“fixed_bit_set_memory_in_bytes”: 0,
“max_unsafe_auto_id_timestamp”: -9223372036854775808,
“file_sizes”: {}
},
“translog”: {
“operations”: 0,
“size_in_bytes”: 0,
“uncommitted_operations”: 0,
“uncommitted_size_in_bytes”: 0,
“earliest_last_modified_age”: 0
},
“request_cache”: {
“memory_size_in_bytes”: 0,
“evictions”: 0,
“hit_count”: 0,
“miss_count”: 0
},
“recovery”: {
“current_as_source”: 0,
“current_as_target”: 0,
“throttle_time_in_millis”: 0
}
},
“os”: {
“timestamp”: 1582445130576,
“cpu”: {
“percent”: 11,
“load_average”: {
“1m”: 1.13,
“5m”: 1.22,
“15m”: 0.85
}
},
“mem”: {
“total_in_bytes”: 8201945088,
“free_in_bytes”: 145960960,
“used_in_bytes”: 8055984128,
“free_percent”: 2,
“used_percent”: 98
},
“swap”: {
“total_in_bytes”: 0,
“free_in_bytes”: 0,
“used_in_bytes”: 0
},
“cgroup”: {
“cpuacct”: {
“control_group”: “/”,
“usage_nanos”: 20466764096
},
“cpu”: {
“control_group”: “/”,
“cfs_period_micros”: 100000,
“cfs_quota_micros”: 400000,
“stat”: {
“number_of_elapsed_periods”: 2090,
“number_of_times_throttled”: 0,
“time_throttled_nanos”: 0
}
},
“memory”: {
“control_group”: “/”,
“limit_in_bytes”: “9223372036854771712”,
“usage_in_bytes”: “2037936128″
}
}
},
“process”: {
“timestamp”: 1582445130576,
“open_file_descriptors”: 156,
“max_file_descriptors”: 1048576,
“cpu”: {
“percent”: 0,
“total_in_millis”: 19940
},
“mem”: {
“total_virtual_in_bytes”: 4475965440
}
},
“jvm”: {
“timestamp”: 1582445130577,
“uptime_in_millis”: 553829,
“mem”: {
“heap_used_in_bytes”: 220185736,
“heap_used_percent”: 13,
“heap_committed_in_bytes”: 1593180160,
“heap_max_in_bytes”: 1593180160,
“non_heap_used_in_bytes”: 69832584,
“non_heap_committed_in_bytes”: 76660736,
“pools”: {
“young”: {
“used_in_bytes”: 108284528,
“max_in_bytes”: 139591680,
“peak_used_in_bytes”: 139591680,
“peak_max_in_bytes”: 139591680
},
“survivor”: {
“used_in_bytes”: 13720176,
“max_in_bytes”: 17432576,
“peak_used_in_bytes”: 17432576,
“peak_max_in_bytes”: 17432576
},
“old”: {
“used_in_bytes”: 98530064,
“max_in_bytes”: 1436155904,
“peak_used_in_bytes”: 98530064,
“peak_max_in_bytes”: 1436155904
}
}
},
“threads”: {
“count”: 24,
“peak_count”: 24
},
“gc”: {
“collectors”: {
“young”: {
“collection_count”: 6,
“collection_time_in_millis”: 267
},
“old”: {
“collection_count”: 1,
“collection_time_in_millis”: 34
}
}
},
“buffer_pools”: {
“mapped”: {
“count”: 0,
“used_in_bytes”: 0,
“total_capacity_in_bytes”: 0
},
“direct”: {
“count”: 20,
“used_in_bytes”: 134750216,
“total_capacity_in_bytes”: 134750215
}
},
“classes”: {
“current_loaded_count”: 10838,
“total_loaded_count”: 10838,
“total_unloaded_count”: 0
}
},
“thread_pool”: {
“analyze”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“fetch_shard_started”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“fetch_shard_store”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“flush”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“force_merge”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“generic”: {
“threads”: 4,
“queue”: 0,
“active”: 1,
“rejected”: 0,
“largest”: 4,
“completed”: 779
},
“get”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“index”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“listener”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“management”: {
“threads”: 1,
“queue”: 0,
“active”: 1,
“rejected”: 0,
“largest”: 1,
“completed”: 0
},
“refresh”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“search”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“search_throttled”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“snapshot”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“warmer”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
},
“write”: {
“threads”: 0,
“queue”: 0,
“active”: 0,
“rejected”: 0,
“largest”: 0,
“completed”: 0
}
},
“fs”: {
“timestamp”: 1582445130581,
“total”: {
“total_in_bytes”: 601284935680,
“free_in_bytes”: 307944751104,
“available_in_bytes”: 307944751104
},
“data”: [{
“path”: “/usr/share/elasticsearch/data/nodes/0”,
“mount”: “/usr/share/elasticsearch/data (192.168.100.32:/k8s/kubesphere-logging-system-data-elasticsearch-logging-data-0-pvc-320809d8-2994-4cf6-aec6-6a9398ac3b42)”,
“type”: “nfs4”,
“total_in_bytes”: 601284935680,
“free_in_bytes”: 307944751104,
“available_in_bytes”: 307944751104
}],
“io_stats”: {}
},
“transport”: {
“server_open”: 0,
“rx_count”: 0,
“rx_size_in_bytes”: 0,
“tx_count”: 0,
“tx_size_in_bytes”: 0
},
“http”: {
“current_open”: 1,
“total_opened”: 60
},
“breakers”: {
“request”: {
“limit_size_in_bytes”: 955908096,
“limit_size”: “911.6mb”,
“estimated_size_in_bytes”: 0,
“estimated_size”: “0b”,
“overhead”: 1.0,
“tripped”: 0
},
“fielddata”: {
“limit_size_in_bytes”: 955908096,
“limit_size”: “911.6mb”,
“estimated_size_in_bytes”: 0,
“estimated_size”: “0b”,
“overhead”: 1.03,
“tripped”: 0
},
“in_flight_requests”: {
“limit_size_in_bytes”: 1593180160,
“limit_size”: “1.4gb”,
“estimated_size_in_bytes”: 0,
“estimated_size”: “0b”,
“overhead”: 1.0,
“tripped”: 0
},
“accounting”: {
“limit_size_in_bytes”: 1593180160,
“limit_size”: “1.4gb”,
“estimated_size_in_bytes”: 0,
“estimated_size”: “0b”,
“overhead”: 1.0,
“tripped”: 0
},
“parent”: {
“limit_size_in_bytes”: 1115226112,
“limit_size”: “1gb”,
“estimated_size_in_bytes”: 0,
“estimated_size”: “0b”,
“overhead”: 1.0,
“tripped”: 0
}
},
“script”: {
“compilations”: 0,
“cache_evictions”: 0
},
“discovery”: {
“cluster_state_queue”: {
“total”: 0,
“pending”: 0,
“committed”: 0
},
“published_cluster_states”: {
“full_states”: 0,
“incompatible_diffs”: 0,
“compatible_diffs”: 0
}
},
“ingest”: {
“total”: {
“count”: 0,
“time_in_millis”: 0,
“current”: 0,
“failed”: 0
},
“pipelines”: {}
},
“adaptive_selection”: {}
}
}
}
sh-4.2$ curl localhost:9200/cat/allocation
{“error”:{“root_cause”:[{“type”:“master_not_discovered_exception”,“reason”:null}],“type”:“master_not_discovered_exception”,“reason”:null},“status”:503}sh-4.2$