Elasticsearch curl URLs

From wikieduonline
Revision as of 03:21, 25 October 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search
/_cat/
/_nodes/
/_cluster/
/_snapshot/


  • Status:
curl https://localhost:9200/_nodes/status
curl --insecure https://localhost:9200/_nodes/status -u "your_usename:your_password"


curl https://localhost:9200/_cluster/health


curl http://localhost:9200/_cluster/health/?level=shards
curl http://localhost:9200/_cluster/health?pretty
curl http://localhost:9200/_aliases
curl https://localhost:9200/_aliases
curl http://localhost:9200/_cat/indices?v
curl https://localhost:9200/_cat/indices?v
curl -XGET --insecure https://localhost:9200/_cat/nodes?v -u 'admin:admin' 
curl -XGET --insecure https://localhost:9200/_cat/plugins?v -u 'admin:admin' 
  • Delete ALL index:
curl -X DELETE 'http://localhost:9200/_all'
curl -X POST --insecure https://your_username:YOUR_PASS@localhost:9200/_snapshot/your_repo/your_latest_snapshot_name/_restore


GET /_ilm/policy
GET /_xpack/usage
/_xpack/security/role/search_user
/_xpack/security/user/adminsearch
GET /_search/scroll
GET /_snapshot
PUT /_snapshot/your-repo
POST /_snapshot/your-repo
/_cat/snapshots/



Related

See also

  • https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html
  • Advertising: