Skip to content

Instantly share code, notes, and snippets.

@ayush-ashu
Created July 17, 2019 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayush-ashu/4db540b956a33a5cb170fd422e703b55 to your computer and use it in GitHub Desktop.
Save ayush-ashu/4db540b956a33a5cb170fd422e703b55 to your computer and use it in GitHub Desktop.
curl -X GET "localhost:9200/"
{
"name" : "node-1",
"cluster_name" : "Demo-elasticsearch",
"cluster_uuid" : "ylRzxEcBRZSQY9WY0vRKnQ",
"version" : {
"number" : "6.5.4",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "d2ef93d",
"build_date" : "2018-12-17T21:17:40.758843Z",
"build_snapshot" : false,
"lucene_version" : "7.5.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
curl -X GET "localhost:9200/_cat/nodes?v"
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
10.249.186.101 18 96 12 0.18 0.34 0.43 mdi * node-1
curl -X GET "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
1563348249 07:24:09 Demo-elasticsearch green 1 1 0 0 0 0 0 0 - 100.0%
curl -X GET "localhost:9200/_cat/indices?v"
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment