parameters: (self, cluster_name)
return_statement: return summary
docstring: Returns a high-level view of the cluster using several existing endpoints from ES.
  
          :param cluster_name: 
          :return:
docstring_summary: Returns a high-level view of the cluster using several existing endpoints from ES.
docstring_tokens: Returns a high - level view of the cluster using several existing endpoints from ES .
function: def get_cluster_summary(self, cluster_name):
          """
          Returns a high-level view of the cluster using several existing endpoints from ES.
  
          :param cluster_name: 
          :return:
          """
          connection = ConnectionService().get_connection(cluster_name)
          summary = connection.cluster.health(request_timeout=REQUEST_TIMEOUT)
          summary['version'] = connection.version
  
          stats = connection.cluster.stats(request_timeout=REQUEST_TIMEOUT)
          summary['indices_size_in_bytes'] = jmespath.search("indices.store.size_in_bytes", stats)
          summary['indices_count'] = jmespath.search("indices.count", stats)
          summary['number_of_documents'] = jmespath.search("indices.docs.count", stats)
  
          nodes = NodeService().get_node_summary(cluster_name)
          summary['nodes'] = nodes
  
          return summary
function_tokens: def get_cluster_summary ( self , cluster_name ) : connection = ConnectionService ( ) . get_connection ( cluster_name ) summary = connection . cluster . health ( request_timeout = REQUEST_TIMEOUT ) summary [ 'version' ] = connection . version stats = connection . cluster . stats ( request_timeout = REQUEST_TIMEOUT ) summary [ 'indices_size_in_bytes' ] = jmespath . search ( "indices.store.size_in_bytes" , stats ) summary [ 'indices_count' ] = jmespath . search ( "indices.count" , stats ) summary [ 'number_of_documents' ] = jmespath . search ( "indices.docs.count" , stats ) nodes = NodeService ( ) . get_node_summary ( cluster_name ) summary [ 'nodes' ] = nodes return summary