Advertisement

ES_cat_health_v_详细说明

阅读量:

公司的监控系统中采用了curl -s http://localhost:9200/_cat/health?v来获取集群的健康状态。
那么_cat/health?v返回的数据具体代表什么含义?各项指标对于实际运行中的集群健康状况又具有怎样的指导价值?

Elasticsearch健康状态检查命令

1、用途

此指令通常具备两种主要应用场景:
1、检测各节点间的运行状态是否保持同步,
2、监控大规模集群在时间推移过程中的故障恢复进展。

2、结果解析与关键发现

在常规操作流程中,运行curl -s http://localhost:9200/_cat/health?v命令得到的结果如下:`这一指令是常见做法。

复制代码
    epoch      timestamp cluster  status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent
    1558506494 14:28:14  hdzx_elk green           3         3    282 141    0    0        0             0          

全部评论 (0)

还没有任何评论哟~