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

          body = nil

          arguments = arguments.clone

          _name = arguments.delete(:name)

          method = Elasticsearch::API::HTTP_GET
          path   = if _name
                     "_data_stream/#{Utils.__listify(_name)}/_stats"
                   else
                     "_data_stream/_stats"
                   end
          params = {}

          perform_request(method, path, params, body, headers).body
        end
# Provides statistics on operations happening in a data stream.
#
# @option arguments [List] :name A comma-separated list of data stream names; use `_all` or empty string to perform the operation on all data streams
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html
#
Provides statistics on operations happening in a data stream.
Provides statistics on operations happening in a data stream .
def data_streams_stats(arguments = {})
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _name = arguments.delete(:name)
          method = Elasticsearch::API::HTTP_GET
          path   = if _name
                     "_data_stream/#{Utils.__listify(_name)}/_stats"
                   else
                     "_data_stream/_stats"
                   end
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def data_streams_stats ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _name = arguments . delete ( :name ) method = Elasticsearch :: API :: HTTP_GET path = if _name "_data_stream/#{Utils.__listify(_name)}/_stats" else "_data_stream/_stats" end params = { } perform_request ( method , path , params , body , headers ) . body end
Provides statistics on operations happening in a data stream.
Provides statistics on operations happening in a data stream .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None