Monday, 8 March 2021

How to the check the elasticsearch cluster status using CURL command (whether it is UP & Running or not)?

 You can check the elasticsearch status by executing the following curl command: 

curl 'http://localhost:9200/?pretty'

generally, you must see the response something like the following text:


{

  "name" : "Dineshs.local",

  "cluster_name" : "elasticsearch",

  "cluster_uuid" : "cyHGu82bTNeWsmubNRblKA",

  "version" : {

    "number" : "7.9.3",

    "build_flavor" : "default",

    "build_type" : "tar",

    "build_hash" : "c4138e5121ef06a6404866cddc601906fe5c868",

    "build_date" : "2020-10-16T10:36:16.141335Z",

    "build_snapshot" : false,

    "lucene_version" : "8.6.2",

    "minimum_wire_compatibility_version" : "6.8.0",

    "minimum_index_compatibility_version" : "6.0.0-beta1"

  },

  "tagline" : "You Know, for Search"

}


This confirms that the Elasticsearch cluster is up and running

No comments:

Post a Comment