ElasticsearchInfo

edit

Information about the Elasticsearch cluster.

Properties

edit
blocking_issues (ElasticsearchClusterBlockingIssues, required)

This endpoint is deprecated and scheduled to be removed in the next major version. Use cluster_blocking_issues instead.

cluster-wide and/or index blocks

cluster_blocking_issues (ElasticsearchBlockingIssues)
Issues that prevent the Elasticsearch cluster or index from correctly operating.
healthy (boolean, required)
Whether the Elasticsearch cluster is healthy (check the sub-objects for more details if not)
master_info (ElasticsearchMasterInfo, required)
Information about the master nodes in the Elasticsearch cluster.
shard_info (ElasticsearchShardsInfo, required)

This endpoint is deprecated and scheduled to be removed in the next major version. Use shards_status instead.

Elasticsearch shard info

shards_status (ElasticsearchShardsStatus)
Shards status represented as green, yellow, or red, as returned by the Elasticsearch cluster health API

Example

edit
{
   "blocking_issues" : {
      "cluster_level" : [
         {
            "description" : "string",
            "instances" : [
               "string"
            ]
         }
      ],
      "healthy" : true,
      "index_level" : [
         {
            "description" : "string",
            "instances" : [
               "string"
            ]
         }
      ]
   },
   "cluster_blocking_issues" : {
      "blocks" : [
         {
            "description" : "string",
            "level" : "string"
         }
      ],
      "healthy" : true
   },
   "healthy" : true,
   "master_info" : {
      "healthy" : true,
      "instances_with_no_master" : [
         "string"
      ],
      "masters" : [
         {
            "instances" : [
               "string"
            ],
            "master_instance_name" : "string",
            "master_node_id" : "string"
         }
      ]
   },
   "shard_info" : {
      "available_shards" : [
         {
            "instance_name" : "string",
            "shard_count" : 0
         }
      ],
      "healthy" : true,
      "unavailable_replicas" : [
         {
            "instance_name" : "string",
            "replica_count" : 0
         }
      ],
      "unavailable_shards" : [
         {
            "instance_name" : "string",
            "shard_count" : 0
         }
      ]
   },
   "shards_status" : {
      "status" : "string"
   }
}