Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster get settings API
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.
返回集群的设置。
1 | 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
1 | 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 参数来包括默认设置。
结束
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
2022-06-24 Kubernetes——存储类(StorageClass)
2022-06-24 Kubernetes——持久存储卷
2022-06-24 Kubernetes——GlusterFS存储卷
2022-06-24 Kubernetes——RBD存储卷
2018-06-24 《SaltStack技术入门与实践》—— Job管理
2018-06-24 【SaltStack官方版】—— job management
2018-06-24 《SaltStack技术入门与实践》——执行结果处理