Difference between revisions of "Elasticsearch index"

From wikieduonline
Jump to navigation Jump to search
 
Line 10: Line 10:
 
* [[Curator]]
 
* [[Curator]]
  
* [[curl -k "https://localhost:9200/_cat/indices?v&health=red"]] -u'XXX:UUU'
+
== Index operations ==
 
+
List indexes:
 
* <code>curl -XGET http://localhost:9200[[/_cat/indices]]?v</code>
 
* <code>curl -XGET http://localhost:9200[[/_cat/indices]]?v</code>
 
* <code>curl -XGET "http://localhost:9200[[/_cat/indices]]?v&s=store.size"</code>
 
* <code>curl -XGET "http://localhost:9200[[/_cat/indices]]?v&s=store.size"</code>
 +
* <code>[[curl -k "https://localhost:9200/_cat/indices?v&health=red"]] -u'XXX:UUU'</code>
  
 
+
Delete index:
 
 
 
* <code>[[curl -X DELETE]]</code>
 
* <code>[[curl -X DELETE]]</code>
  
 +
Show settings:
 
* <code>[[/myindex/_settings]]</code>
 
* <code>[[/myindex/_settings]]</code>
  

Latest revision as of 07:59, 30 January 2023

Index operations[edit]

List indexes:

Delete index:

Show settings:


cat API[edit]

Related[edit]

See also[edit]

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