Elasticsearch巡检常用命令:

1. 获取集群健康状况:curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'

Elasticsearch集群服务常用命令

 

2. 获取集群状态:curl -XGET 'http://localhost:9200/_cluster/state?pretty'

Elasticsearch集群服务常用命令

3. 获取本机节点状态:curl -XGET 'http://localhost:9200/_nodes/stats?pretty'

Elasticsearch集群服务常用命令

4. 获取本机节点状态: curl -XGET 'localhost:9200/_nodes/_local?pretty'

Elasticsearch集群服务常用命令

以上所有查询都可以针对相关的子项目进行查询,关键词如:settings,os,process,jvm,thread_pool,network,transport,http,plugins。举例如下:

Elasticsearch集群服务常用命令

Elasticsearch集群服务常用命令

 

 

相关文章:

  • 2022-12-23
  • 2021-12-16
  • 2021-11-20
  • 2022-12-23
  • 2021-09-22
  • 2021-10-18
  • 2021-12-24
猜你喜欢
  • 2021-07-17
  • 2021-10-20
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案