Difference between revisions of "9200"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
  [[curl -XGET]] -j -u 'admin:admin' https://localhost:9200
 
  [[curl -XGET]] -j -u 'admin:admin' https://localhost:9200
  
  curl http://localhost:9200/_cluster/health?pretty
+
  [[curl http://localhost:9200/_cluster/health?pretty]]
  
  

Revision as of 15:00, 29 September 2022

Elasticsearch and OpenSearch

http://locahost:9200/
https://localhost:9200/

or

curl -XGET https://localhost:9200 -u 'admin:admin' --insecure
curl -XGET -j -u 'admin:admin' https://localhost:9200
curl http://localhost:9200/_cluster/health?pretty


Opensearch

{
  "name" : "your-machine-name",
  "cluster_name" : "opensearch_homebrew",
  "cluster_uuid" : "vtqln7XZQ4WWiRwMD7keYw",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.3.0",
    "build_type" : "tar",
    "build_hash" : "unknown",
    "build_date" : "2022-09-08T20:28:30Z",
    "build_snapshot" : false,
    "lucene_version" : "9.3.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}

Related

See also

Advertising: