Help Center/ Cloud Search Service/ FAQs/ Using CSS Cluster Search Engines/ How Do I Check the Number of Index Shards and Replicas in a CSS Elasticsearch Cluster?
Updated on 2025-09-04 GMT+08:00

How Do I Check the Number of Index Shards and Replicas in a CSS Elasticsearch Cluster?

  1. 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.
    1. Log in to the CSS management console.
    2. In the navigation pane on the left, choose Clusters > Elasticsearch.
    3. In the cluster list, find the target cluster, and click Kibana in the Operation column to log in to the Kibana console.
    4. In the left navigation pane, choose Dev Tools.
  2. 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.

    Figure 1 Querying index information