Elastica\Cluster\Health::_retrieveHealthData PHP Method

_retrieveHealthData() protected method

Retrieves the health data from the cluster.
protected _retrieveHealthData ( ) : array
return array
    protected function _retrieveHealthData()
    {
        $path = '_cluster/health?level=shards';
        $response = $this->_client->request($path, Request::GET);
        return $response->getData();
    }