How Do I Check the Number of Index Shards and Replicas in a CSS Elasticsearch Cluster?
- Log in to Kibana and go to the command execution page. Elasticsearch clusters support multiple access methods. This topic uses Kibana as an example to describe the operation procedures.
- Log in to the CSS management console.
- In the navigation pane on the left, choose Clusters > Elasticsearch.
- In the cluster list, find the target cluster, and click Kibana in the Operation column to log in to the Kibana console.
- In the left navigation pane, choose Dev Tools.
The left part of the console is the command input box, and the triangle icon in its upper-right corner is the execution button. The right part shows the execution result.
- Run the following command on Kibana to query the number of shards and replicas of each index:
GET _cat/indices?v
In Figure 1, the pri column indicates the number of index shards, and the rep column indicates the number of replicas. Once an index is created, its pri value cannot be changed, but its rep value can be changed.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
