Difference between revisions of "Curl http://localhost:9200/ cluster/health?pretty"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
"relocating_shards" : 0, | "relocating_shards" : 0, | ||
"initializing_shards" : 0, | "initializing_shards" : 0, | ||
− | "unassigned_shards" : 7, | + | "[[unassigned_shards]]" : 7, |
"delayed_unassigned_shards" : 0, | "delayed_unassigned_shards" : 0, | ||
"number_of_pending_tasks" : 0, | "number_of_pending_tasks" : 0, |
Revision as of 11:49, 23 January 2023
curl http://localhost:9200/_cluster/health?pretty
{ "cluster_name" : "elasticsearch", "status" : "yellow", "timed_out" : false, "number_of_nodes" : 2, "number_of_data_nodes" : 2, "active_primary_shards" : 14, "active_shards" : 21, "relocating_shards" : 0, "initializing_shards" : 0, "unassigned_shards" : 7, "delayed_unassigned_shards" : 0, "number_of_pending_tasks" : 0, "number_of_in_flight_fetch" : 0, "task_max_waiting_in_queue_millis" : 0, "active_shards_percent_as_number" : 75.0 }
{ "cluster_name" : "elasticsearch", "status" : "red", }
Related
See also
- Elasticsearch troubleshooting, Elasticsearch logs,
yellow, Low disk watermark, in-memory shard lock, re-running
- Elasticsearch, installation, ELK, Elastic X-Pack,
elasticsearch.yml
, logs, ECK, Elasticsearch curl URLs, Elastisearch REST APIs,/_cat/, /_cluster/, /_xpack/
, QueryShardException, Elasticsearch index, ELK backup and restore,elasticsearch-cli
, Elasticsearch versions, ElasticSearch Snapshot Lifecycle Management (SLM), Low disk watermark, Elasticsearch storage, Elasticsearch users, Elasticsearch roles, search context, shards, Elastic Cloud, Elastic Licensing, ElasticSearch alerts, ESQL
Advertising: