Difference between revisions of "/ cat/shards"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
  yourindex1                          0    r      STARTED            0    208b 10.12.7.36  elasticsearch-master-1
 
  yourindex1                          0    r      STARTED            0    208b 10.12.7.36  elasticsearch-master-1
 
  yourindex2                          0    p      STARTED            0    208b 10.12.15.48 elasticsearch-master-0
 
  yourindex2                          0    p      STARTED            0    208b 10.12.15.48 elasticsearch-master-0
 +
.../...
  
 +
curl --insecure https://localhost:9200/_cat/shards?v -u "elastic:your-password"
 +
index                                shard prirep state          docs  store ip          node
 +
yourindex1                          0    p      STARTED    4351786  27.8gb 10.12.7.36  elasticsearch-master-1
 +
yourindex2                          0    r      UNASSIGNED
 +
.../... 
  
[[/_cat/allocation]]?v
+
 
 +
<code>[[/_cat/allocation]]?v</code>
 +
 
 +
== Related ==
 +
* [[Elasticsearch storage]]
 +
* [[Elasticsearch index]]
 +
* [[Elasticsearch shards]]
 +
* <code>[[elasticsearch-shard]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{ES tr}}
 
* {{Elasticsearch}}
 
* {{Elasticsearch}}
  
 
[[Category:Elasticsearch]]
 
[[Category:Elasticsearch]]

Latest revision as of 15:46, 9 November 2022

/_cat/shards
/_cat/shards?v


curl --insecure https://localhost:9200/_cat/shards?v -u "elastic:your-password"
index                                shard prirep state           docs   store ip          node
yourindex1                           0     r      STARTED            0    208b 10.12.7.36  elasticsearch-master-1
yourindex2                           0     p      STARTED            0    208b 10.12.15.48 elasticsearch-master-0
.../...
curl --insecure https://localhost:9200/_cat/shards?v -u "elastic:your-password"
index                                shard prirep state           docs   store ip          node
yourindex1                           0     p      STARTED    4351786  27.8gb 10.12.7.36  elasticsearch-master-1
yourindex2                           0     r      UNASSIGNED
.../...   


/_cat/allocation?v

Related[edit]

See also[edit]

Advertising: