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
}
相关推荐
历程里程碑几秒前
滑动窗口------滑动窗口最大值
大数据·python·算法·elasticsearch·搜索引擎·flask·tornado
Mr_Xuhhh1 分钟前
C语言字符串与内存操作函数模拟实现详解
java·linux·算法
宴之敖者、16 分钟前
Linux——git和gdb
linux·运维·git
TangDuoduo000526 分钟前
【Linux字符设备驱动】
linux·驱动开发
代码游侠27 分钟前
学习笔记——Linux内核与嵌入式开发2
linux·运维·arm开发·嵌入式硬件·学习·架构
郝学胜-神的一滴31 分钟前
深入Linux网络编程:accept函数——连接请求的“摆渡人”
linux·服务器·开发语言·网络·c++·程序人生
小义_41 分钟前
【Docker】知识一
linux·docker·云原生·容器
wefg11 小时前
【Linux】进程地址空间深入理解
linux·运维·服务器
ZHANG13HAO1 小时前
android13 4G网络环境和wifi内网说明
linux·服务器·网络
Linux运维技术栈1 小时前
Magento 2.3.5 宝塔Linux环境完整安装指南(避坑版+图文详解)
linux·运维·服务器