vendor/bundle/jruby/2.3.0/gems/elasticsearch-api-5.0.4/lib/elasticsearch/api/actions/cluster/stats.rb
# Returns statistical information about the cluster
#
# @option arguments [List] :node_id A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
# @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)
# @option arguments [Boolean] :human Whether to return time and byte values in human-readable format.
# @option arguments [Time] :timeout Explicit operation timeout
#
# @see http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html
#
Returns statistical information about the cluster
Returns statistical information about the cluster
def stats(arguments={})
          valid_params = [
            :flat_settings,
            :human,
            :timeout ]
          method = 'GET'
          path   = "_cluster/stats"
          params = Utils.__validate_and_extract_params arguments, valid_params
          body   = nil
          perform_request(method, path, params, body).body
        end
def stats ( arguments = { } ) valid_params = [ :flat_settings , :human , :timeout ] method = 'GET' path = "_cluster/stats" params = Utils . __validate_and_extract_params arguments , valid_params body = nil perform_request ( method , path , params , body ) . body end
Returns statistical information about the cluster
Returns statistical information about the cluster
arguments
:timeout Explicit operation timeout
: timeout Explicit operation timeout
see
None