Pavan Yara

Elastic Search Cheat Sheet

General monitoring API endpoints

MetricDescription
stats from all nodescurl 'localhost:9200/_nodes/stats'
Stats from specific nodescurl 'localhost:9200/_nodes/node1,node2/stats'
Stats from a specific indexcurl 'localhost:9200/<INDEX_NAME>/_stats'
Cluster-wide statscurl 'localhost:9200/_cluster/stats'

Cluster status

MetricDescription
Cluster status & unassigned shardscurl 'localhost:9200/_cat/health?v'

Search performance

MetricDescription
Total number of queriescurl 'localhost:9200/_cat/nodes?v&h=name,searchQueryTotal'