Difference between revisions of "Elasticsearch curl URLs"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
  [[curl -XGET]] https://localhost:9200/_cat/nodes?v -u 'admin:admin' --insecure
 
  [[curl -XGET]] https://localhost:9200/_cat/nodes?v -u 'admin:admin' --insecure
 
  curl -XGET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
 
  curl -XGET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
 
  
 
* Delete ALL index:
 
* Delete ALL index:
 
::<code>[[curl -X]] DELETE 'http://localhost:9200/_all'</code>
 
::<code>[[curl -X]] DELETE 'http://localhost:9200/_all'</code>
 
* [[Install Elasticsearch-hq management GUIs for Elasticsearch]]
 
  
 
* [[ELK backup and restore|Backup and restore]]
 
* [[ELK backup and restore|Backup and restore]]
curl -X POST --insecure https://your_elk_ip:YOUR_PASS@localhost:9200/_snapshot/gcs_repo/your_latest_snapshot_name/_restore
+
::curl -X POST --insecure https://your_elk_ip:YOUR_PASS@localhost:9200/_snapshot/gcs_repo/your_latest_snapshot_name/_restore
  
 
== See also ==
 
== See also ==

Revision as of 19:12, 5 July 2022

Advertising: