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

Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster get settings API

时间:2023-06-24 22:55:54浏览次数:48  
标签:Cluster 精讲 settings cluster API APIs get

REST APIs —— Cluster APIs —— Cluster get settings API

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

Returns cluster-wide settings.

返回集群的设置。

        curl -X GET "localhost:9200/_cluster/settings?pretty"

1、Prerequisites(先决条件)

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

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

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

2、Request(请求)

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

        GET /_cluster/settings
    

3、Description(描述)

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

By default, this API call only returns settings that have been explicitly defined, but can also include the default settings by calling the include_defaults parameter.

默认情况下,该API调用仅返回已显式定义的设置,但可以通过调用 include_defaults 参数来包括默认设置。

结束

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

相关文章

  • 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......
  • Elasticsearch专题精讲—— Aggregations(聚合)
    Aggregations(聚合)https://www.elastic.co/guide/en/elasticsearch/reference/8.8/search-aggregations.html#search-aggregationsAnaggregationsummarizesyourdataasmetrics,statistics,orotheranalytics.Aggregationshelpyouanswerquestionsl......