ElasticSearch之健康状态

参考Cluster health API

命令样例,如下:

shell 复制代码
curl -X GET "https://localhost:9200/_cluster/health?wait_for_status=yellow&timeout=50s&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

执行输出,如下:

shell 复制代码
{
  "cluster_name" : "elasticsearch",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 1,
  "active_shards" : 1,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "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" : 100.0
}
相关推荐
softshow10262 分钟前
使用 Windows 子系统 WSL 安装 Ubuntu 22.04
linux·windows·ubuntu
wadesir3 分钟前
简易制作LinuxShell完全指南(深入解析原理、设计与实践步骤)
linux·运维·服务器
水天需0101 小时前
HISTFILE 介绍
linux
Elasticsearch1 小时前
Jina Code Embeddings:0.5B 和 1.5B 的 SOTA 代码检索
elasticsearch
CreasyChan1 小时前
VirtualBox 安装 CentOS 7.2
linux·运维·centos
AAA.建材批发刘哥1 小时前
04--C++ 类和对象下篇
linux·c++·经验分享·青少年编程
Elasticsearch1 小时前
Jina Reranker v3:用于 SOTA 多语言 检索 的 0.6B 列表式 重排序器
elasticsearch
杰克崔2 小时前
glibc社区提问
linux·运维·服务器·车载系统
山上三树2 小时前
MMU与页表
linux·嵌入式硬件
yueguangni2 小时前
centos7虚拟机nat模式连接不上xshell方法分享
linux·运维·服务器