Difference between revisions of "/ cat/shards"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user 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"
 
  curl --insecure https://localhost:9200/_cat/shards?v -u "elastic:your-password"
 
  index                                shard prirep state          docs  store ip          node
 
  index                                shard prirep state          docs  store ip          node
 
  yourindex1                          0    p      STARTED    4351786  27.8gb 10.12.7.36  elasticsearch-master-1
 
  yourindex1                          0    p      STARTED    4351786  27.8gb 10.12.7.36  elasticsearch-master-1
  yourindex2                          0    r      UNASSIGNED   
+
  yourindex2                          0    r      UNASSIGNED
 +
.../...    
  
  
Line 17: Line 19:
  
 
== Related ==
 
== Related ==
 +
* [[Elasticsearch storage]]
 
* [[Elasticsearch index]]
 
* [[Elasticsearch index]]
 +
* [[Elasticsearch shards]]
 
* <code>[[elasticsearch-shard]]</code>
 
* <code>[[elasticsearch-shard]]</code>
  

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: