elasticsearch-api/lib/elasticsearch/api/actions/xpack/usage.rb
def usage(arguments = {})
          headers = arguments.delete(:headers) || {}

          body = nil

          arguments = arguments.clone

          method = Elasticsearch::API::HTTP_GET
          path   = "_xpack/usage"
          params = Utils.process_params(arguments)

          perform_request(method, path, params, body, headers).body
        end
# Retrieves usage information about the installed X-Pack features.
#
# @option arguments [Time] :master_timeout Specify timeout for watch write operation
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html
#
Retrieves usage information about the installed X-Pack features.
Retrieves usage information about the installed X - Pack features .
def usage(arguments = {})
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          method = Elasticsearch::API::HTTP_GET
          path   = "_xpack/usage"
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def usage ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone method = Elasticsearch :: API :: HTTP_GET path = "_xpack/usage" params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
Retrieves usage information about the installed X-Pack features.
Retrieves usage information about the installed X - Pack features .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None