首页 > 其他分享 >Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster health API

Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster health API

时间:2023-06-24 23:00:24浏览次数:38  
标签:www Cluster 精讲 APIs cluster API health

REST APIs —— Cluster APIs —— Cluster health API

https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-health.html#cluster-health

Returns the health status of a cluster.

返回集群的健康状态。

1、Request(请求)

https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-health.html#cluster-health-api-request

        GET /_cluster/health/< target>
        

2、Prerequisites(先决条件)

https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-health.html#cluster-health-api-prereqs

If the Elasticsearch security features are enabled, you must have the monitor or manage cluster privilege to use this API.

如果启用了 Elasticsearch 安全特性,则必须拥有监视器或管理集群特权才能使用此 API。

3、Description(描述)

https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-health.html#cluster-health-api-desc

The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.

集群健康API返回有关集群健康状态的简单状态。您还可以使用此API来获取仅指定数据流和索引的健康状态。对于数据流,该API检索流支持的索引的健康状态。

标签:www,Cluster,精讲,APIs,cluster,API,health
From: https://www.cnblogs.com/zuoyang/p/17501848.html

相关文章

  • Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster get settings
    RESTAPIs——ClusterAPIs——ClustergetsettingsAPIhttps://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-get-settings.html#cluster-get-settingsReturnscluster-widesettings.返回集群的设置。......
  • Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster allocation ex
    RESTAPIs——ClusterAPIs——ClusterallocationexplainAPI(用于提供关于特定分片当前分配情况的解释)https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-allocation-explain.html#cluster-allocation-explainProvidesanexplanationforashar......
  • Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Node specification
     RESTAPIs——ClusterAPIs—— Nodespecification(节点过滤)https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster.html#cluster-nodes Somecluster-levelAPIsmayoperateonasubsetofthenodeswhichcanbespecifiedw......
  • 什么是 Kubernetes cluster 的 Node affinity
    Nodeaffinity在概念上类似于nodeSelector,它允许您根据节点标签来限制Pod可以调度到哪些节点上。有两种类型的节点亲和性:requiredDuringSchedulingIgnoredDuringExecution:除非满足规则,否则调度程序无法将Pod调度到节点上。这类似于nodeSelector,但具有更具表达性的语法。pre......
  • kube-apiserver认证
    kube-apiserver认证kube-apiserver支持多种认证机制,并支持同时开启多个认证功能。当客户端发起一个请求,经过认证阶段时,只要有一个认证器通过,则认证器成功,失败返回401一共九种认证机制BasicAuth认证BasicAuth是一种简单的HTTP协议上的认证机制,客户端将用户,密码写入请......
  • 8086汇编语言精讲1 :基础知识
    基础知识   也就是说伪指令和其他符号在编译器上将汇编指令翻译成的机械码改动,形成新的机械码      8086可以寻址2^16大小的数据量,因为它有16根数据总线,同时是在2进制下计数         ......
  • API网关-APISIX简介
    本文分享自天翼云开发者社区《API网关-APISIX简介》,作者:w****nApacheAPISIX是一个动态、实时、高性能的云原生API网关,提供了负载均衡、动态上游、灰度发布、服务熔断、身份认证、可观测性等丰富的流量管理功能。APISIX构建于nginx+ngx_lua的技术基础之上,充分利用了LuaJIT所......
  • CF1835C. Twin Clusters
    题目大意给出一个长为\(2^{K+1}\)的序列,每个元素在\([0,4^K)\)之间,在序列中找到两个不相交的区间使得二者的异或和相等\(K<=17,\sum2^{K+1}<=2^{18}\)题解好题,但最后没有break出去绝杀失败了,rk70=>rk150因为元素大小是\(4^K\)级别的,和大小相关的算法(FWT)都没用了,所以不如直接......
  • mormot1.18 THttpApiServer
    mormot1.18THttpApiServer官方已经推荐使用mormot2,mormot1.18已经进入只修正bug的阶段。THttpApiServer是对windowshttp.sys通信的封装,因此只适用于windows。//cxg2023-2-12//mormot1.18http.sys适用于WINDOWS2003,XPSP2及以后版本unitsock.httpsys;interfaceus......
  • Elasticsearch专题精讲—— Aggregations —— Metrics aggregations(度量聚合)
    Aggregations——Metricsaggregations(度量聚合)https://www.elastic.co/guide/en/elasticsearch/reference/8.8/search-aggregations-metrics.html#search-aggregations-metricsTheaggregationsinthisfamilycomputemetricsbasedonvaluesextractedinone......