gpt4 book ai didi

elasticsearch - 通过POST调用ElasticSearch运行状况检查

转载 作者:行者123 更新时间:2023-12-03 00:47:30 26 4
gpt4 key购买 nike

我想通过POST调用获取Elasticsearch Cluster Health,这可能吗?

我知道如何通过GET调用它,但是我只能访问POST。

最佳答案

GET调用仅支持检索集群的运行状况,因为通过POST调用“读取”数据通常是没有意义的(至少在行为良好的REST服务中):

要么GET _cat/health(view source)

GET _cluster/health(view source)

关于elasticsearch - 通过POST调用ElasticSearch运行状况检查,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58426717/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com