Difference between revisions of "Elasticsearch curl URLs"

From wikieduonline
Jump to navigation Jump to search
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
 +
 +
== Options ==
 +
{{ES URLs TOC}}
 +
 +
 +
 +
 
* Status:  
 
* Status:  
 
::<code>[[curl https://localhost:9200/_nodes/status]]</code>
 
::<code>[[curl https://localhost:9200/_nodes/status]]</code>
 
::<code>[[curl --insecure https://localhost:9200/_nodes/status -u]] "your_usename:your_password"</code>
 
::<code>[[curl --insecure https://localhost:9200/_nodes/status -u]] "your_usename:your_password"</code>
--insecure https://your_username:your_password@localhost:9200/
+
 
 +
* <code>[[-k]] or [[--insecure]] https://your_username:your_password@localhost:9200/</code>
 +
[[/_cluster/|Cluster]]:
 +
{{cluster API}}
  
  
  
 
::<code>[[curl https://localhost:9200/_cluster/health]]</code>
 
::<code>[[curl https://localhost:9200/_cluster/health]]</code>
  [[/_cluster/settings]]
+
   
 +
* <code>[[/_cluster/settings]]</code>
  
  
Line 29: Line 41:
  
  
[[/_cat/allocation]]
 
  
  GET _ilm/policy
+
  GET [[/_ilm/]]policy
 +
 
 +
 
 +
 
 +
[[/_xpack/security/role/search_user]]
 +
[[/_xpack/security/user/adminsearch]]
  
  GET _xpack/usage
+
  GET [[/_search/]]scroll
  
  GET [[/_snapshot/]]
+
  GET [[/_snapshot]]
 +
[[PUT /_snapshot/]]your-repo
 +
POST /_snapshot/your-repo
  
 
  [[/_cat/snapshots/]]
 
  [[/_cat/snapshots/]]
  
[[/_cat/repositories]]
+
Cat
 
 
 
  {{cat API}}
 
  {{cat API}}
 
  
 
== Related ==
 
== Related ==
 
* <code>[[cURL]]</code>
 
* <code>[[cURL]]</code>
 
* <code>[[opensearch-cli curl]]</code>
 
* <code>[[opensearch-cli curl]]</code>
 +
* [[Elastisearch REST APIs]]
  
 
== See also ==
 
== See also ==
 +
* {{ES URLs}}
 
* {{Elasticsearch}}
 
* {{Elasticsearch}}
  
 
[[Category:ELK]]
 
[[Category:ELK]]
 
[[Category:Elasticsearch]]
 
[[Category:Elasticsearch]]

Latest revision as of 18:00, 13 November 2022


Options[edit]

Related[edit]

See also[edit]

Advertising: